From a568a9cdd04d46783559e3eb1bf551f4302f6166 Mon Sep 17 00:00:00 2001 From: fdai7551 Date: Thu, 2 Feb 2023 10:21:19 +0100 Subject: [PATCH] =?UTF-8?q?[SnakeGameTest=20Class]:=20JUnitTest=20f=C3=BCr?= =?UTF-8?q?=20breite=20des=20zweiten=20Panels=20hinzugef=C3=BCgt?= 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 1c930e4..c4435c3 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 @@ -38,4 +38,9 @@ public class SnakeGameTest { assertTrue(snek.getHoeheP2() == hoehe ); } + public void breitePane2Test() { + int breite = 100; + assertTrue(snek.getBreiteP2() == breite ); + } + } \ No newline at end of file