“>All Things Tested EquallyIn part 1 of this series, we created Deck and Card classesvia tests. The starter test for the Deck class involved verifying thata deck contained 52 cards, and that the deck indeed contained each card asexpected.Listing 1 shows the test method from the DeckTest class we builtlast time. For each iteration through the dual-loop series, the test calls thecontains method against the Deck object, passing in thecurrent rank and suit.Listing 1 testCreate method
continue >>
Author:
Time:
Sunday, February 10th, 2008 at 10:32 am
Category:
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation: