Author | Message |
---|---|
Anonymous
Posts: 166
|
Posted 19:25 Jan 15, 2014 |
Two questions I have about the lab that is due tonight. 1. For the P2.3, basically what I am reading is that I should copy the testunion2 code, but just change the point where the two rectangle is not intersecting no more? Meaning the two rectangle meet wall to wall, but never intersecting. Is this what you are asking for? Just asking to get some understanding of the question. _ _ _
2. For the Days project (P 2.6), basically we create objects in the "Days" class just like what the video did in the example Sally? How would you start writing the JUnit when the object cant be made into code? Would like some help. Thank you. One confusing college student. Last edited by Anonymous at
19:26 Jan 15, 2014.
|
rabbott
Posts: 1649
|
Posted 21:04 Jan 15, 2014 |
For problem P 2.6 create a DaysTest class and complete the following method in it. @Test // Do the same thing for Feb 28, 2015, Feb 28, 2016, Feb 28, 2017 Day dayIn2016 = new Day(2016, 2, 28); Day dayIn2017 = new Day(2017, 2, 28); }
Last edited by rabbott at
21:25 Jan 15, 2014.
|