()
| 402 | * toArray contains all elements in sorted order |
| 403 | */ |
| 404 | public void testToArray() { |
| 405 | NavigableSet q = populatedSet(SIZE); |
| 406 | Object[] o = q.toArray(); |
| 407 | for (int i = 0; i < o.length; i++) |
| 408 | assertEquals(o[i], q.pollFirst()); |
| 409 | } |
| 410 | |
| 411 | /* |
| 412 | * toArray(a) contains all elements in sorted order |
nothing calls this directly
no test coverage detected