|
|
@ -29,8 +29,15 @@ class LogicTest { |
|
|
|
} |
|
|
|
|
|
|
|
private static Stream<Arguments> playfieldResults() { |
|
|
|
int[][] playfield1 = {{0, 0, 0, 0, 0, 0}, |
|
|
|
{0, 0, 0, 0, 0, 0}, |
|
|
|
{1, 0, 0, 0, 0, 0}, |
|
|
|
{1, 0, 0, 0, 0, 0}, |
|
|
|
{1, 0, 0, 0, 0, 0}, |
|
|
|
{1, 0, 0, 0, 0, 0}}; |
|
|
|
return Stream.of( |
|
|
|
Arguments.of("emptyField", new int[6][6], 1, false) |
|
|
|
Arguments.of("emptyField", new int[6][6], 1, false), |
|
|
|
Arguments.of("4 in 1st column player1", playfield1, 1, true) |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|