From 070c06fd01380b2107ecd5347d19acd7109a9061 Mon Sep 17 00:00:00 2001 From: fdai7431 Date: Thu, 19 Jan 2023 12:41:27 +0100 Subject: [PATCH] [TikTakToeGameTest Class]: JUnitTest --- .../JavaGamelauncher/GamelauncherMainTest.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMainTest.java b/JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMainTest.java index 8f6db32..969dd48 100644 --- a/JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMainTest.java +++ b/JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMainTest.java @@ -9,6 +9,8 @@ import org.junit.Test; */ public class GamelauncherMainTest { + + GamelauncherMain glm = new GamelauncherMain(); /** * Rigorous Test :-) */ @@ -17,4 +19,15 @@ public class GamelauncherMainTest { assertTrue( true ); } + + @Test + public void hoeheVergleichen() + { + + int breite = 1270; + int hoehe = 600; + + assertTrue(glm.getBreite() == breite); + assertTrue(glm.getHoehe() == hoehe); + } }