From 5cca8b3217b9bb6e8d5bde6c499a89b1beb5d8ac Mon Sep 17 00:00:00 2001 From: fdai7551 Date: Wed, 25 Jan 2023 10:46:22 +0100 Subject: [PATCH] =?UTF-8?q?[SnakeGameTest=20Class]:=20JUnitTest=20f=C3=BCr?= =?UTF-8?q?=20Breite=20des=20Fensters?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gruppenprojekt/JavaGamelauncher/SnakeGameTest.java | 4 ++++ 1 file changed, 4 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 4fac704..4335aa5 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 @@ -14,4 +14,8 @@ public class SnakeGameTest { public void hoeheTest() { assertTrue(snek.hoehe == 600); } + + public void breiteTest() { + assertTrue(snek.breite == 1200); + } }