Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testLog10ZeroAlwaysThrows (0.85 sec)

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

          assertEquals(BigIntegerMath.log2(x, floorWasEven ? HALF_DOWN : HALF_UP), halfEven);
        }
      }
    
      @GwtIncompatible // TODO
      public void testLog10ZeroAlwaysThrows() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertThrows(IllegalArgumentException.class, () -> BigIntegerMath.log10(ZERO, mode));
        }
      }
    
      @GwtIncompatible // TODO
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/IntMathTest.java

            assertTrue(isPowerOf2);
          } catch (ArithmeticException e) {
            assertFalse(isPowerOf2);
          }
        }
      }
    
      @GwtIncompatible // log10
      public void testLog10ZeroAlwaysThrows() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertThrows(IllegalArgumentException.class, () -> IntMath.log10(0, mode));
        }
      }
    
      @GwtIncompatible // log10
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/LongMathTest.java

            assertTrue(isPowerOf2);
          } catch (ArithmeticException e) {
            assertFalse(isPowerOf2);
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testLog10ZeroAlwaysThrows() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertThrows(IllegalArgumentException.class, () -> LongMath.log10(0L, mode));
        }
      }
    
      @GwtIncompatible // TODO
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top