assertEquals(result1, new NSRange(0, 0));
assertEquals(result2, new NSRange(0, 0));
}
public void testSubtractRangeTotalIntersect() {
NSMutableRange result1 = new NSMutableRange();
NSMutableRange result2 = new NSMutableRange();
// total intersection
NSRange testRange = new NSRange(1, 2); // 1, 2
NSRange subRange = new NSRange(0, 4); // 0, 1, 2, 3, 4
testRange.subtractRange(subRange, result1, result2);
assertEquals(0, result1.length());
assertEquals(0, result2.length());
}