()
| 302 | * contains(x) reports true when elements added but not yet removed |
| 303 | */ |
| 304 | public void testContains() { |
| 305 | NavigableSet q = populatedSet(SIZE); |
| 306 | for (int i = 0; i < SIZE; ++i) { |
| 307 | assertTrue(q.contains(new Integer(i))); |
| 308 | q.pollFirst(); |
| 309 | assertFalse(q.contains(new Integer(i))); |
| 310 | } |
| 311 | } |
| 312 | |
| 313 | /* |
| 314 | * clear removes all elements |
nothing calls this directly
no test coverage detected