- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testCartesianProductTooBig (0.13 sec)
-
guava-tests/test/com/google/common/collect/SetsTest.java
List<Object> exp4 = list((Object) 2, "4"); assertThat(Sets.<Object>cartesianProduct(x, y)) .containsExactly(exp1, exp2, exp3, exp4) .inOrder(); } public void testCartesianProductTooBig() { Set<Integer> set = ContiguousSet.create(Range.closed(0, 10000), DiscreteDomain.integers()); assertThrows(IllegalArgumentException.class, () -> cartesianProduct(set, set, set, set, set)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
List<Object> exp4 = list((Object) 2, "4"); assertThat(Lists.<Object>cartesianProduct(x, y)) .containsExactly(exp1, exp2, exp3, exp4) .inOrder(); } public void testCartesianProductTooBig() { List<String> list = nCopies(10000, "foo"); assertThrows( IllegalArgumentException.class, () -> cartesianProduct(list, list, list, list, list)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
List<Object> exp4 = list((Object) 2, "4"); assertThat(Lists.<Object>cartesianProduct(x, y)) .containsExactly(exp1, exp2, exp3, exp4) .inOrder(); } public void testCartesianProductTooBig() { List<String> list = nCopies(10000, "foo"); assertThrows( IllegalArgumentException.class, () -> cartesianProduct(list, list, list, list, list)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0)