Home
last modified time | relevance | path

Searched refs:checkSanity (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/util/BitSet/
DBSMethods.java86 checkSanity(s, t); in checkEquality()
93 private static void checkSanity(BitSet... sets) { in checkSanity() method in BSMethods
199 checkSanity(testSet); in testNextSetBit()
231 checkSanity(b); in testNextClearBit()
244 checkSanity(bs); in testNextClearBit()
341 checkSanity(testSet); in testSetGetClearFlip()
375 checkSanity(b1, b2, b3); in testAndNot()
409 checkSanity(b1, b2, b3); in testAnd()
415 checkSanity(b4); in testAnd()
464 checkSanity(b1, b2, b3); in testOr()
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCollection8Test.java807 final Consumer checkSanity = x -> assertTrue(x == one || x == two);
817 () -> c.forEach(checkSanity),
818 () -> c.stream().forEach(checkSanity),
819 () -> c.parallelStream().forEach(checkSanity),
823 s.tryAdvance(checkSanity);
828 do {} while (s.tryAdvance(checkSanity));
830 () -> { for (Object x : c) checkSanity.accept(x); },
840 checkSanity.accept(a[i]);