diff --git a/src/test/java/Gui/guiTest.java b/src/test/java/Gui/guiTest.java index af0d48c..153055b 100644 --- a/src/test/java/Gui/guiTest.java +++ b/src/test/java/Gui/guiTest.java @@ -22,5 +22,17 @@ class guiTest { assertEquals(FrameWitdh, gui.Frame.getWidth()); assertEquals(FrameHeight, gui.Frame.getHeight()); } + @Test + public void testCreateButtons() { + //arrange + String Start = "Starte Spiel"; + + //act + String StartTarget = gui.StartBtn.getText(); + + //assert + assertEquals(Start,StartTarget); + } + }