13 |
|
|
14 |
|
public class PriorityQueueTest extends JSR166TestCase { |
15 |
|
public static void main(String[] args) { |
16 |
< |
junit.textui.TestRunner.run (suite()); |
16 |
> |
junit.textui.TestRunner.run(suite()); |
17 |
|
} |
18 |
|
public static Test suite() { |
19 |
|
return new TestSuite(PriorityQueueTest.class); |
438 |
|
/** |
439 |
|
* iterator.remove removes current element |
440 |
|
*/ |
441 |
< |
public void testIteratorRemove () { |
441 |
> |
public void testIteratorRemove() { |
442 |
|
final PriorityQueue q = new PriorityQueue(3); |
443 |
|
q.add(new Integer(2)); |
444 |
|
q.add(new Integer(1)); |