|
|
@ -74,7 +74,8 @@ class GameTest |
|
|
|
@ParameterizedTest |
|
|
|
// row, col |
|
|
|
@CsvSource({ |
|
|
|
"0, 0" |
|
|
|
"0, 0", // schwarzer Turm a8 |
|
|
|
"0, 7" // schwarzer Turm h8 |
|
|
|
}) |
|
|
|
void newGameInitializationFigurePositionsRooks(int row, int col) |
|
|
|
{ |
|
|
@ -83,14 +84,6 @@ class GameTest |
|
|
|
g.mField[Figure.fieldLength * row + col].getClass()); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
void newGameInitializationFigurePositionsRook2() |
|
|
|
{ |
|
|
|
// schwarzer Turm h8 |
|
|
|
assertEquals(new FigureRook().getClass(), |
|
|
|
g.mField[Figure.fieldLength * 0 + 7].getClass()); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
void moveFarmerWhite() // weißer Bauer ganz links um ein Feld noch vorne bewegen |
|
|
|
{ |
|
|
|