range.setLocation(1);
assertEquals(1, range.location());
}
public void testUnionRange() {
NSMutableRange range = new NSMutableRange(2,3);
NSRange otherRange = new NSRange(3, 3);
range.unionRange(otherRange);
assertEquals(2, range.location());
assertEquals(4, range.length());
}