diff --git a/fh.fd.ci.client/src/main/java/de/fd/fh/Game.java b/fh.fd.ci.client/src/main/java/de/fd/fh/Game.java index ce289f1..ded0c96 100644 --- a/fh.fd.ci.client/src/main/java/de/fd/fh/Game.java +++ b/fh.fd.ci.client/src/main/java/de/fd/fh/Game.java @@ -39,6 +39,7 @@ public class Game mField[Figure.fieldLength * 0 + 0] = new FigureRook(); // schwarzer Turm a8 mField[Figure.fieldLength * 0 + 7] = new FigureRook(); // schwarzer Turm h8 mField[Figure.fieldLength * 7 + 0] = new FigureRook(); // weißer Turm a1 + mField[Figure.fieldLength * 7 + 7] = new FigureRook(); // weißer Turm h1 } boolean moveFigure(int src, int dst) diff --git a/fh.fd.ci.client/src/test/java/de/fd/fh/GameTest.java b/fh.fd.ci.client/src/test/java/de/fd/fh/GameTest.java index d061ed4..10b4eb4 100644 --- a/fh.fd.ci.client/src/test/java/de/fd/fh/GameTest.java +++ b/fh.fd.ci.client/src/test/java/de/fd/fh/GameTest.java @@ -76,7 +76,8 @@ class GameTest @CsvSource({ "0, 0", // schwarzer Turm a8 "0, 7", // schwarzer Turm h8 - "7, 0" // weißer Turm a1 + "7, 0", // weißer Turm a1 + "7, 7" // weißer Turm h1 }) void newGameInitializationFigurePositionsRooks(int row, int col) {