()
| 449 | * toArray contains all elements in sorted order |
| 450 | */ |
| 451 | public void testToArray() { |
| 452 | NavigableSet q = populatedSet(SIZE); |
| 453 | Object[] o = q.toArray(); |
| 454 | for (int i = 0; i < o.length; i++) |
| 455 | assertEquals(o[i], q.pollFirst()); |
| 456 | } |
| 457 | |
| 458 | /* |
| 459 | * toArray(a) contains all elements in sorted order |
nothing calls this directly
no test coverage detected