Browse Source

moved newGameInitializationFigurePositionsRook2 into newGameInitializationFigurePositionsRooks

feat-figureMovement
Julius Dewender 9 months ago
parent
commit
c827f07f88
  1. 11
      fh.fd.ci.client/src/test/java/de/fd/fh/GameTest.java

11
fh.fd.ci.client/src/test/java/de/fd/fh/GameTest.java

@ -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
{

Loading…
Cancel
Save