public void ResultOfHitThreeMastShip() { ThreeMastShip threeMastShip = new ThreeMastShip(); ShipBoardField shipBoardField = new ShipBoardField(threeMastShip); Assert.AreEqual(Shot.Result.Damaged, shipBoardField.Shoot()); }
public void ResultOfHitOneMastShip() { OneMastShip oneMastShip = new OneMastShip(); ShipBoardField shipBoardField = new ShipBoardField(oneMastShip); Assert.AreEqual(Shot.Result.Destroyed, shipBoardField.Shoot()); }