From c827f07f88d40d4f5669f459be4e39ad1d61d4bd Mon Sep 17 00:00:00 2001 From: Julius Dewender Date: Sun, 31 Jan 2021 18:15:34 +0100 Subject: [PATCH] moved newGameInitializationFigurePositionsRook2 into newGameInitializationFigurePositionsRooks --- fh.fd.ci.client/src/test/java/de/fd/fh/GameTest.java | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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 eb35166..1c903d5 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 @@ -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 {