Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testLog10NegativeAlwaysThrows (0.35 sec)

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

        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertThrows(IllegalArgumentException.class, () -> BigIntegerMath.log10(ZERO, mode));
        }
      }
    
      @GwtIncompatible // TODO
      public void testLog10NegativeAlwaysThrows() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertThrows(
              IllegalArgumentException.class, () -> BigIntegerMath.log10(BigInteger.valueOf(-1), mode));
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Nov 19 01:35:24 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/IntMathTest.java

        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertThrows(IllegalArgumentException.class, () -> IntMath.log10(0, mode));
        }
      }
    
      @GwtIncompatible // log10
      public void testLog10NegativeAlwaysThrows() {
        for (int x : NEGATIVE_INTEGER_CANDIDATES) {
          for (RoundingMode mode : ALL_ROUNDING_MODES) {
            assertThrows(IllegalArgumentException.class, () -> IntMath.log10(x, mode));
          }
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top