Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for failFormat (0.09 sec)

  1. guava-tests/test/com/google/common/math/DoubleUtilsTest.java

      public void testBigToDouble() {
        for (BigInteger b : ALL_BIGINTEGER_CANDIDATES) {
          if (b.doubleValue() != DoubleUtils.bigToDouble(b)) {
            failFormat(
                "Converting %s to double: expected doubleValue %s but got bigToDouble %s",
                b, b.doubleValue(), DoubleUtils.bigToDouble(b));
          }
        }
      }
    
      public void testEnsureNonNegative() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java

      public void testBigToDouble() {
        for (BigInteger b : ALL_BIGINTEGER_CANDIDATES) {
          if (b.doubleValue() != DoubleUtils.bigToDouble(b)) {
            failFormat(
                "Converting %s to double: expected doubleValue %s but got bigToDouble %s",
                b, b.doubleValue(), DoubleUtils.bigToDouble(b));
          }
        }
      }
    
      public void testEnsureNonNegative() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/LongMathTest.java

          try {
            assertEquals(floor, LongMath.log10(x, UNNECESSARY));
            assertTrue(expectedSuccess);
          } catch (ArithmeticException e) {
            if (expectedSuccess) {
              failFormat("expected log10(%s, UNNECESSARY) = %s; got ArithmeticException", x, floor);
            }
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testLog10TrivialOnPowerOf10() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top