From cc5da0e3ab24ae1351f869bd3b00d12f0693845e Mon Sep 17 00:00:00 2001 From: fdai7551 Date: Thu, 2 Feb 2023 10:07:31 +0100 Subject: [PATCH] =?UTF-8?q?[SnakeGameTest=20Class]:=20Test=20f=C3=BCr=20h?= =?UTF-8?q?=C3=B6he=20des=20ersten=20Panels?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gruppenprojekt/JavaGamelauncher/SnakeGameTest.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 bec49bb..ae29c19 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 @@ -22,4 +22,10 @@ public class SnakeGameTest { public void titelTest() { assertTrue(snek.titel == "Snake"); } -} + + public void hoehePanelTest() { + int hoehe = 100; + assertTrue(snek.getHoeheP1() == hoehe ); + } + +} \ No newline at end of file