From 0be6724637648f36532c01e1ea086f929513f5a7 Mon Sep 17 00:00:00 2001 From: fdai7551 Date: Thu, 2 Feb 2023 10:19:49 +0100 Subject: [PATCH] =?UTF-8?q?[SnakeGameTest=20Class]:=20JUnitTest=20f=C3=BCr?= =?UTF-8?q?=20h=C3=B6he=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 02a54aa..1c930e4 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 @@ -33,4 +33,9 @@ public class SnakeGameTest { assertTrue(snek.getBreiteP1() == breite ); } + public void hoehePane2Test() { + int hoehe = 100; + assertTrue(snek.getHoeheP2() == hoehe ); + } + } \ No newline at end of file