diff --git a/src/test_/java/ShipTest.java b/src/test_/java/ShipTest.java index c2d5a7d..4924e8b 100644 --- a/src/test_/java/ShipTest.java +++ b/src/test_/java/ShipTest.java @@ -15,5 +15,9 @@ class ShipTest { ship.counter(); assertFalse(ship.isKilled()); assertEquals(1, ship.numOfHits); + + ship.counter(); + assertFalse(ship.isKilled()); + assertEquals(2, ship.numOfHits); } } \ No newline at end of file