Browse Source

test for StartDarkSoulsBtn

master
Leon Montag 2 years ago
parent
commit
4af7a699c3
  1. 9
      src/test/java/Gui/guiTest.java

9
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);
}
}
Loading…
Cancel
Save