Home
last modified time | relevance | path

Searched refs:diff2 (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/test/java/util/LinkedHashSet/
DBasic.java58 Set diff2 = clone(s2); diff2.removeAll(s1); in main() local
61 if (diff1.removeAll(diff2)) in main()
65 if (diff2.removeAll(diff1)) in main()
67 if (diff2.removeAll(intersection)) in main()
74 intersection.addAll(diff1); intersection.addAll(diff2); in main()
/libcore/ojluni/src/test/java/util/Collections/
DCheckedSetBash.java75 Set<Integer> diff2 = clone(s2, supplier); diff2.removeAll(s1); in testCheckedSet() local
78 if (diff1.removeAll(diff2)) in testCheckedSet()
82 if (diff2.removeAll(diff1)) in testCheckedSet()
84 if (diff2.removeAll(intersection)) in testCheckedSet()
91 intersection.addAll(diff1); intersection.addAll(diff2); in testCheckedSet()
DCheckedListBash.java58 List diff2 = clone(s2); diff2.removeAll(s1); in main() local
61 if (diff1.removeAll(diff2)) in main()
65 if (diff2.removeAll(diff1)) in main()
67 if (diff2.removeAll(intersection)) in main()
74 intersection.addAll(diff1); intersection.addAll(diff2); in main()
/libcore/ojluni/src/test/java/lang/StrictMath/
DExactArithTests.java92 long diff2 = (long) x - (long) y; in testIntegerExact() local
93 if ((int) diff2 != diff2) { in testIntegerExact()
94 …il("FAIL: int StrictMath.subtractExact(" + x + " - " + y + ") = " + diff + "; expected: " + diff2); in testIntegerExact()
98 long diff2 = (long) x - (long) y; in testIntegerExact()
99 if ((int) diff2 == diff2) { in testIntegerExact()
/libcore/ojluni/src/test/java/lang/Math/
DExactArithTests.java119 long diff2 = (long) x - (long) y; in testIntegerExact() local
120 if ((int) diff2 != diff2) { in testIntegerExact()
121 … fail("FAIL: int Math.subtractExact(" + x + " - " + y + ") = " + diff + "; expected: " + diff2); in testIntegerExact()
125 long diff2 = (long) x - (long) y; in testIntegerExact()
126 if ((int) diff2 == diff2) { in testIntegerExact()
/libcore/ojluni/src/test/java/util/EnumSet/
DEnumSetBash.java95 EnumSet<T> diff2 = clone(s2, enumClass); diff2.removeAll(s1); in bash() local
98 Assert.assertFalse(diff1.removeAll(diff2)); in bash()
100 Assert.assertFalse(diff2.removeAll(diff1)); in bash()
101 Assert.assertFalse(diff2.removeAll(intersection)); in bash()
105 intersection.addAll(diff1); intersection.addAll(diff2); in bash()