mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-13 18:23:50 +00:00
Refs #1631. Unit test last index of index set with a single index.
This commit is contained in:
1 parent
9eee7a214e
commit
b51a2e25c2
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user