From a0a6d24f1eb2dcb7661ebe187871a8f07253c039 Mon Sep 17 00:00:00 2001 From: fdai7551 Date: Wed, 25 Jan 2023 10:44:11 +0100 Subject: [PATCH] =?UTF-8?q?[SnakeGameTest=20Class]:=20JUnitTest=20f=C3=BCr?= =?UTF-8?q?=20h=C3=B6he=20des=20Fensters?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JavaGamelauncher/SnakeGameTest.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGameTest.java 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 new file mode 100644 index 0000000..4fac704 --- /dev/null +++ b/JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGameTest.java @@ -0,0 +1,17 @@ +package de.hs_fulda.gruppenprojekt.JavaGamelauncher; + +import static org.junit.Assert.*; + +import org.junit.Test; + +public class SnakeGameTest { + SnakeGame snek = new SnakeGame(); + @Test + public void test() { + assertTrue(true); + } + + public void hoeheTest() { + assertTrue(snek.hoehe == 600); + } +}