Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCheckNoOverflow_success (0.1 sec)

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

        assertThat(expected).hasMessageThat().contains("1.0");
        assertThat(expected).hasMessageThat().contains("UP");
      }
    
      public void testCheckNoOverflow_success() {
        MathPreconditions.checkNoOverflow(true, "testCheckNoOverflow_success", 0, 0);
      }
    
      public void testCheckNoOverflow_failure() {
        ArithmeticException expected =
            assertThrows(
                ArithmeticException.class,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top