Last active
December 12, 2015 09:18
-
-
Save justinwyer/4750102 to your computer and use it in GitHub Desktop.
TDD examples for blog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation CardTest | |
- (void)testShouldKnowCardCannotMatchEmptyCardList { | |
Card *card = [Card new]; | |
NSArray *otherCards = [NSArray new]; | |
STAssertEquals(0, [card match:otherCards], @"Should not match empty card list."); | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment