- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testIsPrimeSmall (0.47 seconds)
-
guava-tests/test/com/google/common/math/LongMathTest.java
tester.setDefault(int.class, 1); tester.setDefault(long.class, 1L); tester.testAllPublicStaticMethods(LongMath.class); } @GwtIncompatible // isPrime is GWT-incompatible public void testIsPrimeSmall() { // Check the first 1000 integers for (int i = 2; i < 1000; i++) { assertEquals(BigInteger.valueOf(i).isProbablePrime(100), LongMath.isPrime(i)); } }
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)