From 19072b38f1cca61e1b31f61105b05bd38d0883b4 Mon Sep 17 00:00:00 2001 From: fdai7551 Date: Thu, 2 Feb 2023 10:09:46 +0100 Subject: [PATCH] =?UTF-8?q?[SnakeGameTest=20Class]:=20JUnitTest=20=20f?= =?UTF-8?q?=C3=BCr=20breite=20des=20ersten=20Panels?= 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 ae29c19..02a54aa 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 @@ -28,4 +28,9 @@ public class SnakeGameTest { assertTrue(snek.getHoeheP1() == hoehe ); } + public void breitePanelTest() { + int breite = 100; + assertTrue(snek.getBreiteP1() == breite ); + } + } \ No newline at end of file