diff --git a/fh.fd.ci.client/src/test/java/de/fd/fh/FigureTest.java b/fh.fd.ci.client/src/test/java/de/fd/fh/FigureTest.java index b764ba1..22902f1 100644 --- a/fh.fd.ci.client/src/test/java/de/fd/fh/FigureTest.java +++ b/fh.fd.ci.client/src/test/java/de/fd/fh/FigureTest.java @@ -17,13 +17,13 @@ class FigureTest void checkMoveWithInvalidFieldBigger() // Feldgröße sollte 8*8 betragen { Figure f = new Figure(); - assertFalse(f.moveAllowed(0,0, new int[8*9])); + assertFalse(f.moveAllowed(48,40, new int[8*9])); } @Test void checkMoveWithInvalidFieldCorrect() // Feldgröße sollte 8*8 betragen { Figure f = new Figure(); - assertTrue(f.moveAllowed(0,0, new int[Figure.fieldSize])); + assertTrue(f.moveAllowed(48,40, new int[Figure.fieldSize])); } } \ No newline at end of file