()
| 328 | * containsAll(c) is true when c contains a subset of elements |
| 329 | */ |
| 330 | public void testContainsAll() { |
| 331 | NavigableSet q = populatedSet(SIZE); |
| 332 | NavigableSet p = DBMaker.memoryDB().make().treeSet("test").make(); |
| 333 | for (int i = 0; i < SIZE; ++i) { |
| 334 | assertTrue(q.containsAll(p)); |
| 335 | assertFalse(p.containsAll(q)); |
| 336 | p.add(new Integer(i)); |
| 337 | } |
| 338 | assertTrue(p.containsAll(q)); |
| 339 | } |
| 340 | |
| 341 | /* |
| 342 | * retainAll(c) retains only those elements of c and reports true if changed |
nothing calls this directly
no test coverage detected