- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testCartesianProductTooBig (0.14 seconds)
-
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)); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 35.4K bytes - Click Count (0)