Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCartesianProduct_equals (0.18 sec)

  1. guava-tests/test/com/google/common/collect/SetsTest.java

        assertTrue(actual.contains(list(1, 4)));
        assertTrue(actual.contains(list(2, 3)));
        assertTrue(actual.contains(list(2, 4)));
        assertFalse(actual.contains(list(3, 1)));
      }
    
      public void testCartesianProduct_equals() {
        Set<List<Integer>> cartesian = cartesianProduct(set(1, 2), set(3, 4));
        ImmutableSet<List<Integer>> equivalent =
            ImmutableSet.of(ImmutableList.of(1, 3), ImmutableList.of(1, 4), list(2, 3), list(2, 4));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
Back to top