- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testCompareToAndEquals (0.14 sec)
-
android/guava-tests/test/com/google/common/collect/RangeTest.java
import static com.google.common.collect.DiscreteDomain.integers; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.collect.testing.Helpers.testCompareToAndEquals; import static com.google.common.testing.SerializableTester.reserializeAndAssert; import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
comparator.compare(greater, t) > 0); } } } @SuppressWarnings({"SelfComparison", "SelfEquals"}) public static <T extends Comparable<? super T>> void testCompareToAndEquals( List<T> valuesInExpectedOrder) { // This does an O(n^2) test of all pairs of values in both orders for (int i = 0; i < valuesInExpectedOrder.size(); i++) { T t = valuesInExpectedOrder.get(i);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
comparator.compare(greater, t) > 0); } } } @SuppressWarnings({"SelfComparison", "SelfEquals"}) public static <T extends Comparable<? super T>> void testCompareToAndEquals( List<T> valuesInExpectedOrder) { // This does an O(n^2) test of all pairs of values in both orders for (int i = 0; i < valuesInExpectedOrder.size(); i++) { T t = valuesInExpectedOrder.get(i);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0)