|
@ -125,9 +125,16 @@ class LogicTest { |
|
|
{0, 0, 1, 2, 0, 0}, |
|
|
{0, 0, 1, 2, 0, 0}, |
|
|
{0, 0, 1, 2, 0, 0}, |
|
|
{0, 0, 1, 2, 0, 0}, |
|
|
{0, 0, 1, 1, 2, 0}}; |
|
|
{0, 0, 1, 1, 2, 0}}; |
|
|
|
|
|
int[][] playfield2 = {{0, 0, 0, 0, 0, 0}, |
|
|
|
|
|
{0, 0, 0, 0, 0, 0}, |
|
|
|
|
|
{0, 0, 0, 0, 0, 0}, |
|
|
|
|
|
{0, 0, 0, 0, 0, 0}, |
|
|
|
|
|
{0, 0, 0, 0, 0, 0}, |
|
|
|
|
|
{1, 1, 1, 2, 2, 2}}; |
|
|
return Stream.of( |
|
|
return Stream.of( |
|
|
Arguments.of("emptyField", new int[6][6], 1, 1000), |
|
|
Arguments.of("emptyField", new int[6][6], 1, 1000), |
|
|
Arguments.of("9 chips played", playfield1, 1, 1090) |
|
|
|
|
|
|
|
|
Arguments.of("9 chips played", playfield1, 1, 1090), |
|
|
|
|
|
Arguments.of("first row filled", playfield2, 1, 1120) |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|