Created
November 14, 2011 06:48
-
-
Save basuke/1363403 to your computer and use it in GitHub Desktop.
NSIndexPathの比較テストの検証
This file contains hidden or 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
- (void)testIndexPathEquality { | |
NSIndexPath *ip1 = [NSIndexPath indexPathForRow:0 inSection:0]; | |
NSIndexPath *ip2 = [NSIndexPath indexPathForRow:0 inSection:0]; | |
STAssertTrue([ip1 isEqual:ip2], @"indexpath の比較"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment