From b3de6cfde85efc372cc2b6f8705fa8cbf607dc1b Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Mon, 30 Jan 2023 11:34:58 +0100 Subject: [PATCH] [MouseGameTest Class]: Test: "boundsBreitePruefen" erstellt. --- .../gruppenprojekt/JavaGamelauncher/MouseGameTest.java | 9 +++++++++ 1 file changed, 9 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 5a36659..f2a4bc2 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 @@ -56,6 +56,15 @@ public class MouseGameTest { assertTrue(mg.getResetY()==170); } + @Test + public void boundsBreitePruefen() throws AWTException { + //Given + MouseGame mg = new MouseGame(); + + //Then + assertTrue(mg.getBreite()==900); + } + @Test public void boundsHoehePruefen() throws AWTException { //Given