|
@ -79,8 +79,11 @@ class AIHardTest { |
|
|
|
|
|
|
|
|
private static Stream<Arguments> testCasesForCountCharsInRow() { |
|
|
private static Stream<Arguments> testCasesForCountCharsInRow() { |
|
|
return Stream.of(Arguments.of("EmptyFieldReturns0", |
|
|
return Stream.of(Arguments.of("EmptyFieldReturns0", |
|
|
new char[][] { {'-', '-', '-'}, {'-', '-', '-'}, {'-', '-', '-'} }, |
|
|
|
|
|
0, 'o', 0)); |
|
|
|
|
|
|
|
|
new char[][] { {'-', '-', '-'}, {'-', '-', '-'}, {'-', '-', '-'} }, |
|
|
|
|
|
0, 'o', 0), |
|
|
|
|
|
Arguments.of("TwoCharsInRowReturnsTwo", |
|
|
|
|
|
new char[][] { {'-', '-', '-'}, {'o', 'o', '-'}, {'-', '-', '-'} }, |
|
|
|
|
|
1, 'o', 2)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |