- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testGCDNegativePositiveThrows (0.15 seconds)
-
guava-tests/test/com/google/common/math/LongMathTest.java
assertEquals(a, LongMath.gcd(a, 0)); assertEquals(a, LongMath.gcd(0, a)); } assertEquals(0, LongMath.gcd(0, 0)); } @GwtIncompatible // TODO public void testGCDNegativePositiveThrows() { for (long a : NEGATIVE_LONG_CANDIDATES) { assertThrows(IllegalArgumentException.class, () -> LongMath.gcd(a, 3)); assertThrows(IllegalArgumentException.class, () -> LongMath.gcd(3, a)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 30 14:15:36 GMT 2025 - 31.4K bytes - Click Count (0)