()
| 223 | * poll succeeds unless empty |
| 224 | */ |
| 225 | public void testPoll() { |
| 226 | NavigableSet q = populatedSet(SIZE); |
| 227 | for (int i = 0; i < SIZE; ++i) { |
| 228 | assertEquals(i, q.pollFirst()); |
| 229 | } |
| 230 | assertNull(q.pollFirst()); |
| 231 | } |
| 232 | |
| 233 | /* |
| 234 | * remove(x) removes x and returns true if present |
nothing calls this directly
no test coverage detected