11 |
|
|
12 |
|
public class TreeSetTest extends JSR166TestCase { |
13 |
|
public static void main(String[] args) { |
14 |
< |
junit.textui.TestRunner.run (suite()); |
14 |
> |
junit.textui.TestRunner.run(suite()); |
15 |
|
} |
16 |
|
public static Test suite() { |
17 |
|
return new TestSuite(TreeSetTest.class); |
380 |
|
|
381 |
|
Object e4 = q.lower(zero); |
382 |
|
assertNull(e4); |
383 |
– |
|
383 |
|
} |
384 |
|
|
385 |
|
/** |
398 |
|
|
399 |
|
Object e4 = q.higher(six); |
400 |
|
assertNull(e4); |
402 |
– |
|
401 |
|
} |
402 |
|
|
403 |
|
/** |
416 |
|
|
417 |
|
Object e4 = q.floor(zero); |
418 |
|
assertNull(e4); |
421 |
– |
|
419 |
|
} |
420 |
|
|
421 |
|
/** |
434 |
|
|
435 |
|
Object e4 = q.ceiling(six); |
436 |
|
assertNull(e4); |
440 |
– |
|
437 |
|
} |
438 |
|
|
439 |
|
/** |
490 |
|
/** |
491 |
|
* iterator.remove removes current element |
492 |
|
*/ |
493 |
< |
public void testIteratorRemove () { |
493 |
> |
public void testIteratorRemove() { |
494 |
|
final TreeSet q = new TreeSet(); |
495 |
|
q.add(new Integer(2)); |
496 |
|
q.add(new Integer(1)); |