- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for checkedPow (0.14 sec)
-
android/guava-tests/test/com/google/common/math/LongMathTest.java
} } @GwtIncompatible // TODO public void testConstantsPowersOf10() { for (int i = 0; i < LongMath.powersOf10.length; i++) { assertEquals(LongMath.checkedPow(10, i), LongMath.powersOf10[i]); } try { LongMath.checkedPow(10, LongMath.powersOf10.length); fail("Expected ArithmeticException"); } catch (ArithmeticException expected) { } } @GwtIncompatible // TODO
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 20:15:57 GMT 2024 - 32.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
} } @GwtIncompatible // TODO public void testConstantsPowersOf10() { for (int i = 0; i < LongMath.powersOf10.length; i++) { assertEquals(LongMath.checkedPow(10, i), LongMath.powersOf10[i]); } try { LongMath.checkedPow(10, LongMath.powersOf10.length); fail("Expected ArithmeticException"); } catch (ArithmeticException expected) { } } @GwtIncompatible // TODO
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 20:15:57 GMT 2024 - 32.5K bytes - Viewed (0)