- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testGCDNegativeZeroThrows (0.17 seconds)
-
guava-tests/test/com/google/common/math/IntMathTest.java
assertThrows(IllegalArgumentException.class, () -> IntMath.gcd(a, 3)); assertThrows(IllegalArgumentException.class, () -> IntMath.gcd(3, a)); } } public void testGCDNegativeZeroThrows() { for (int a : NEGATIVE_INTEGER_CANDIDATES) { assertThrows(IllegalArgumentException.class, () -> IntMath.gcd(a, 0)); assertThrows(IllegalArgumentException.class, () -> IntMath.gcd(0, a)); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0)