@ -22,6 +22,13 @@ class GameGuiTest {
gameGui.createGui();
}
@Test
public void testCreateLayout() {
assertNotNull(gameGui.gbc);
assertEquals(1, gameGui.gbc.gridwidth);
assertEquals(GridBagConstraints.HORIZONTAL, gameGui.gbc.fill);
assertEquals(new Insets(10, 10, 10, 10), gameGui.gbc.insets);