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 0494e0a..476968a 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 @@ -13,5 +13,10 @@ class FigureTest assertFalse(f.moveAllowed(0,0, new int[0])); } - + @Test + void checkMoveWithInvalidFieldBigger() // Feldgröße sollte 8*8 betragen + { + Figure f = new Figure(); + assertFalse(f.moveAllowed(0,0, new int[8*9])); + } } \ No newline at end of file