diff --git a/src/test_/java/BShipTest.java b/src/test_/java/BShipTest.java index b5d7487..9b5813a 100644 --- a/src/test_/java/BShipTest.java +++ b/src/test_/java/BShipTest.java @@ -1,6 +1,8 @@ import BattleShip.BShip; import org.junit.jupiter.api.Test; +import static org.junit.jupiter.api.Assertions.assertNotNull; + class BShipTest { @Test public void testStartGame() { @@ -9,5 +11,8 @@ class BShipTest { bShip.autoPlacement = true; bShip.startGame(); + + assertNotNull(bShip.grid1); + assertNotNull(bShip.grid2); } } \ No newline at end of file