assertFalse(index.containsIndex(new NSUInteger(3)));
}
@Test
public void testIndexWithDoubleRange() {
NSMutableIndexSet index = NSMutableIndexSet.new_();
index.addIndex(new NSUInteger(1));
index.addIndex(new NSUInteger(2));
index.addIndex(new NSUInteger(4));
index.addIndex(new NSUInteger(5));
assertEquals(new NSUInteger(4), index.count());
assertFalse(index.containsIndex(new NSUInteger(0)));
assertTrue(index.containsIndex(new NSUInteger(1)));
assertTrue(index.containsIndex(new NSUInteger(2)));
assertFalse(index.containsIndex(new NSUInteger(3)));
assertTrue(index.containsIndex(new NSUInteger(4)));
assertTrue(index.containsIndex(new NSUInteger(5)));
}