This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
If statements in a tester class? Have you opened up a whole new world to me?
Joined: Mar 22, 2005
Have you opened up a whole new world to me?
If so, then it was easy. Hope I can do it again some time
Maybe we don't have the same concept of a "tester class". My idea would have been that it's either a general class whose purpose is to test some other class (in which case it may do so by whatever means available), or maybe a JUnit test, in which case the above would be something like "assertEquals(2, movieCollection.neverBeenRented().size())". Are you working with another definition? [ August 10, 2005: Message edited by: Ulf Dittmer ]