From e49fb2d6e0e56b906c376490900e7f199721ff92 Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Tue, 31 Jan 2023 09:54:11 +0100 Subject: [PATCH] [MouseGameTest Class]: Test: "boundsHoehePanelPruefen" erstellt. --- .../gruppenprojekt/JavaGamelauncher/MouseGameTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGameTest.java b/JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGameTest.java index 3844097..8f7add9 100644 --- a/JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGameTest.java +++ b/JavaGamelauncher/src/test/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGameTest.java @@ -83,4 +83,12 @@ public class MouseGameTest { assertTrue(mg.getBreitePanel()==696); } + @Test + public void boundsHoehePanelPruefen() throws AWTException { + //Given + MouseGame mg = new MouseGame(); + + //Then + assertTrue(mg.getHoehePanel()==569); + } }