12 |
|
|
13 |
|
public class LinkedListTest extends JSR166TestCase { |
14 |
|
public static void main(String[] args) { |
15 |
< |
junit.textui.TestRunner.run (suite()); |
15 |
> |
junit.textui.TestRunner.run(suite()); |
16 |
|
} |
17 |
|
|
18 |
|
public static Test suite() { |
397 |
|
/** |
398 |
|
* iterator.remove removes current element |
399 |
|
*/ |
400 |
< |
public void testIteratorRemove () { |
400 |
> |
public void testIteratorRemove() { |
401 |
|
final LinkedList q = new LinkedList(); |
402 |
|
q.add(new Integer(1)); |
403 |
|
q.add(new Integer(2)); |
449 |
|
/** |
450 |
|
* descendingIterator.remove removes current element |
451 |
|
*/ |
452 |
< |
public void testDescendingIteratorRemove () { |
452 |
> |
public void testDescendingIteratorRemove() { |
453 |
|
final LinkedList q = new LinkedList(); |
454 |
|
q.add(three); |
455 |
|
q.add(two); |