- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testCartesianProduct_binary1x1 (0.98 sec)
-
android/guava-tests/test/com/google/common/collect/ListsTest.java
assertEquals(emptyList(), fromList); } @SafeVarargs private static <E> List<E> list(E... elements) { return ImmutableList.copyOf(elements); } public void testCartesianProduct_binary1x1() { assertThat(cartesianProduct(list(1), list(2))).contains(list(1, 2)); } public void testCartesianProduct_binary1x2() { assertThat(cartesianProduct(list(1), list(2, 3)))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
} private static void assertEmpty(Set<? extends List<?>> set) { assertTrue(set.isEmpty()); assertEquals(0, set.size()); assertFalse(set.iterator().hasNext()); } public void testCartesianProduct_binary1x1() { assertThat(cartesianProduct(set(1), set(2))).contains(list(1, 2)); } public void testCartesianProduct_binary1x2() { assertThat(cartesianProduct(set(1), set(2, 3)))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0)