From 4af7a699c3fff1ad4d21208061d9f0e5439418ef Mon Sep 17 00:00:00 2001 From: Leon Montag Date: Sun, 22 Jan 2023 18:57:17 +0100 Subject: [PATCH] test for StartDarkSoulsBtn --- src/test/java/Gui/guiTest.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/test/java/Gui/guiTest.java b/src/test/java/Gui/guiTest.java index ad53354..f9d6f4f 100644 --- a/src/test/java/Gui/guiTest.java +++ b/src/test/java/Gui/guiTest.java @@ -50,5 +50,14 @@ class guiTest { // assert assertEquals(NumPanels, TargetNumPanels); } + @Test + public void testDarkSoulsBtn() { + //arrange + int expected = 1; + //act + gui.StartDarkSoulsBtn.doClick(); + //assert + assertEquals(expected, gui.status); + } }