diff --git a/src/test/java/Gui/guiTest.java b/src/test/java/Gui/guiTest.java index d37814a..5f7ab48 100644 --- a/src/test/java/Gui/guiTest.java +++ b/src/test/java/Gui/guiTest.java @@ -36,6 +36,19 @@ class guiTest { assertEquals(Start,StartTarget); assertEquals(Close,CloseTarget); } + + @Test + public void testCreatePanel() { + //arrange + int NumPanels = 3; + + //act + int TargetNumPanels = gui.Panel.getComponents().length; + + //assert + assertEquals(NumPanels,TargetNumPanels); + } + }