Refs #1631. Unit test last index of index set with a single index.

This commit is contained in:
Alexander Ljungberg committed 2012-07-24 20:09:18 +02:00
1 parent 9eee7a214e
commit b51a2e25c2
1 file changed
+3
+3
View File
@@ -288,6 +288,9 @@ function descriptionWithoutEntity(aString)
{
[self assert:[_set lastIndex] equals:19];
[self assert:[[CPIndexSet indexSet] lastIndex] equals:CPNotFound];
var singleIndexSet = [CPIndexSet indexSetWithIndex:3];
[self assert:3 equals:[singleIndexSet lastIndex]];
}
/*
- (void)testAddSpeed