Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testFuzzyCompareBadTolerance (0.34 sec)

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

            int actual = DoubleMath.fuzzyCompare(a, b, tolerance);
            assertEquals(Integer.signum(expected), Integer.signum(actual));
          }
        }
      }
    
      public void testFuzzyCompareBadTolerance() {
        for (double tolerance : BAD_TOLERANCE_CANDIDATES) {
          try {
            DoubleMath.fuzzyCompare(1, 2, tolerance);
            fail("Expected IllegalArgumentException");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top