- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testCartesianProduct_zeroary (0.36 sec)
-
guava-tests/test/com/google/common/collect/SetsTest.java
map.put(2, true); assertThrows(IllegalArgumentException.class, () -> Sets.newSetFromMap(map)); } /** The 0-ary cartesian product is a single empty list. */ public void testCartesianProduct_zeroary() { assertThat(cartesianProduct()).containsExactly(list()); } /** A unary cartesian product is one list of size 1 for each element in the input set. */ public void testCartesianProduct_unary() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0)