- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for failFormat (0.04 sec)
-
guava-tests/test/com/google/common/math/LongMathTest.java
try { assertEquals(floor, LongMath.log10(x, UNNECESSARY)); assertTrue(expectedSuccess); } catch (ArithmeticException e) { if (expectedSuccess) { failFormat("expected log10(%s, UNNECESSARY) = %s; got ArithmeticException", x, floor); } } } } @GwtIncompatible // TODO public void testLog10TrivialOnPowerOf10() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 31.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
try { BigInteger quotient = BigIntegerMath.divide(p, q, UNNECESSARY); BigInteger undone = quotient.multiply(q); if (!p.equals(undone)) { failFormat("expected %s.multiply(%s) = %s; got %s", quotient, q, p, undone); } assertTrue(dividesEvenly); } catch (ArithmeticException e) { assertFalse(dividesEvenly); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27K bytes - Viewed (0)