Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRoundInfiniteToIntAlwaysFails (0.31 sec)

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

            fail("Expected ArithmeticException");
          } catch (ArithmeticException expected) {
          }
        }
      }
    
      @GwtIncompatible // DoubleMath.roundToInt(double, RoundingMode)
      public void testRoundInfiniteToIntAlwaysFails() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          try {
            DoubleMath.roundToInt(Double.POSITIVE_INFINITY, mode);
            fail("Expected ArithmeticException");
    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