Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCartesianProduct_unary (0.29 sec)

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

        assertThat(Sets.cartesianProduct()).containsExactly(list());
      }
    
      /** A unary cartesian product is one list of size 1 for each element in the input set. */
      public void testCartesianProduct_unary() {
        assertThat(Sets.cartesianProduct(set(1, 2))).containsExactly(list(1), list(2));
      }
    
      public void testCartesianProduct_binary0x0() {
        Set<Integer> mt = emptySet();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 47.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SetsTest.java

        assertThat(Sets.cartesianProduct()).containsExactly(list());
      }
    
      /** A unary cartesian product is one list of size 1 for each element in the input set. */
      public void testCartesianProduct_unary() {
        assertThat(Sets.cartesianProduct(set(1, 2))).containsExactly(list(1), list(2));
      }
    
      public void testCartesianProduct_binary0x0() {
        Set<Integer> mt = emptySet();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
Back to top