Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for expr (0.17 sec)

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

        Set<String> y = set("3", "4");
    
        List<Object> exp1 = list((Object) 1, "3");
        List<Object> exp2 = list((Object) 1, "4");
        List<Object> exp3 = list((Object) 2, "3");
        List<Object> exp4 = list((Object) 2, "4");
    
        assertThat(Sets.<Object>cartesianProduct(x, y))
            .containsExactly(exp1, exp2, exp3, exp4)
            .inOrder();
      }
    
      public void testCartesianProductTooBig() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> y = list("3", "4");
    
        List<Object> exp1 = list((Object) 1, "3");
        List<Object> exp2 = list((Object) 1, "4");
        List<Object> exp3 = list((Object) 2, "3");
        List<Object> exp4 = list((Object) 2, "4");
    
        assertThat(Lists.<Object>cartesianProduct(x, y))
            .containsExactly(exp1, exp2, exp3, exp4)
            .inOrder();
      }
    
      public void testCartesianProductTooBig() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> y = list("3", "4");
    
        List<Object> exp1 = list((Object) 1, "3");
        List<Object> exp2 = list((Object) 1, "4");
        List<Object> exp3 = list((Object) 2, "3");
        List<Object> exp4 = list((Object) 2, "4");
    
        assertThat(Lists.<Object>cartesianProduct(x, y))
            .containsExactly(exp1, exp2, exp3, exp4)
            .inOrder();
      }
    
      public void testCartesianProductTooBig() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        List<?> exp = copyToList(expected);
        List<?> act = copyToList(actual);
        String actString = act.toString();
    
        // Of course we could take pains to give the complete description of the
        // problem on any failure.
    
        // Yeah it's n^2.
        for (Object object : exp) {
          if (!act.remove(object)) {
            Assert.fail(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SetsTest.java

        Set<String> y = set("3", "4");
    
        List<Object> exp1 = list((Object) 1, "3");
        List<Object> exp2 = list((Object) 1, "4");
        List<Object> exp3 = list((Object) 2, "3");
        List<Object> exp4 = list((Object) 2, "4");
    
        assertThat(Sets.<Object>cartesianProduct(x, y))
            .containsExactly(exp1, exp2, exp3, exp4)
            .inOrder();
      }
    
      public void testCartesianProductTooBig() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
  6. android/guava-tests/test/com/google/common/math/LongMathTest.java

            assertFalse(isPerfectSquare);
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testPow() {
        for (long i : ALL_LONG_CANDIDATES) {
          for (int exp : EXPONENTS) {
            assertEquals(LongMath.pow(i, exp), valueOf(i).pow(exp).longValue());
          }
        }
      }
    
      @J2ktIncompatible // J2kt BigDecimal.divide also has the rounding bug
      @GwtIncompatible // TODO
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/LongMathTest.java

            assertFalse(isPerfectSquare);
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testPow() {
        for (long i : ALL_LONG_CANDIDATES) {
          for (int exp : EXPONENTS) {
            assertEquals(LongMath.pow(i, exp), valueOf(i).pow(exp).longValue());
          }
        }
      }
    
      @J2ktIncompatible // J2kt BigDecimal.divide also has the rounding bug
      @GwtIncompatible // TODO
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        List<?> exp = copyToList(expected);
        List<?> act = copyToList(actual);
        String actString = act.toString();
    
        // Of course we could take pains to give the complete description of the
        // problem on any failure.
    
        // Yeah it's n^2.
        for (Object object : exp) {
          if (!act.remove(object)) {
            Assert.fail(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
Back to top