|
12 | 12 | class GermainPrimeAndSafePrimeTest { |
13 | 13 |
|
14 | 14 | static Stream<Arguments> provideNumbersForGermainPrimes() { |
15 | | - return Stream.of(Arguments.of(2, true), Arguments.of(3, true), Arguments.of(5, true), Arguments.of(11, true), Arguments.of(23, true), Arguments.of(293, true), Arguments.of(4, false), Arguments.of(7, false), Arguments.of(9, false), Arguments.of(1, false)); |
| 15 | + return Stream.of( |
| 16 | + Arguments.of(2, Boolean.TRUE), Arguments.of(3, Boolean.TRUE), Arguments.of(5, Boolean.TRUE), Arguments.of(11, Boolean.TRUE), Arguments.of(23, Boolean.TRUE), Arguments.of(293, Boolean.TRUE), Arguments.of(4, false), Arguments.of(7, false), Arguments.of(9, false), Arguments.of(1, false)); |
16 | 17 | } |
17 | 18 |
|
18 | 19 | static Stream<Arguments> provideNumbersForSafePrimes() { |
19 | | - return Stream.of(Arguments.of(5, true), Arguments.of(7, true), Arguments.of(11, true), Arguments.of(23, true), Arguments.of(1283, true), Arguments.of(4, false), Arguments.of(13, false), Arguments.of(9, false), Arguments.of(1, false)); |
| 20 | + return Stream.of(Arguments.of(5, Boolean.TRUE), Arguments.of(7, Boolean.TRUE), Arguments.of(11, Boolean.TRUE), Arguments.of(23, Boolean.TRUE), Arguments.of(1283, Boolean.TRUE), Arguments.of(4, false), Arguments.of(13, false), Arguments.of(9, false), Arguments.of(1, false)); |
20 | 21 | } |
21 | 22 |
|
22 | 23 | static Stream<Integer> provideNegativeNumbers() { |
|
0 commit comments