@ -37,5 +37,18 @@ class guiTest {
assertEquals(Close,CloseTarget);
}
@Test
public void testCreatePanel() {
//arrange
int NumPanels = 3;
//act
int TargetNumPanels = gui.Panel.getComponents().length;
//assert
assertEquals(NumPanels,TargetNumPanels);