From fb12d13a23f9e911e6ae516c5c01061f00ca029f Mon Sep 17 00:00:00 2001 From: fdai7551 Date: Thu, 2 Feb 2023 11:48:04 +0100 Subject: [PATCH] =?UTF-8?q?[SnakeGameTest=20Class]:=20JUnitTest=20f=C3=BCr?= =?UTF-8?q?=20xCords2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gruppenprojekt/JavaGamelauncher/SnakeGameTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGameTest.java b/JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGameTest.java index 1ae4274..834b127 100644 --- a/JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGameTest.java +++ b/JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGameTest.java @@ -68,4 +68,9 @@ public class SnakeGameTest { assertTrue(snek.getxCords1() == Cords ); } + public void xCords2Test() { + int Cords = 400; + assertTrue(snek.getxCords2() == Cords ); + } + } \ No newline at end of file