From 3f72b6b9c8beba799c9df3ce2bfbe4259a8a0741 Mon Sep 17 00:00:00 2001 From: Julius Dewender Date: Thu, 14 Jan 2021 21:21:20 +0100 Subject: [PATCH] refactored figure test position (1. white farmer) --- fh.fd.ci.client/src/test/java/de/fd/fh/FigureTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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