@ -1,3 +1,15 @@
import BattleShip.Ship;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
class ShipTest {
@Test
void counter() {
Ship ship = new Ship(3, "TestShip");
assertFalse(ship.isKilled());
assertEquals(0, ship.numOfHits);
}