- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testExplicit_two (0.13 sec)
-
guava-tests/test/com/google/common/collect/OrderingTest.java
try { c.max(asList(0, 1)); fail(); } catch (IncomparableValueException expected) { assertEquals(0, expected.value); } } public void testExplicit_two() { Comparator<Integer> c = Ordering.explicit(42, 5); assertEquals(0, c.compare(5, 5)); assertTrue(c.compare(5, 42) > 0); assertTrue(c.compare(42, 5) < 0); try { c.compare(5, 666);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Mar 07 18:34:03 UTC 2024 - 42.5K bytes - Viewed (0)