public void CheckDamageStateOfThreeMastShip() { ThreeMastShip threeMastShip = new ThreeMastShip(); (threeMastShip).Damage(); Assert.AreEqual(Ship.State.Damaged, (threeMastShip).Status); }
public void CheckLivesAfterDamageOfThreeMastShip() { ThreeMastShip threeMastShip = new ThreeMastShip(); (threeMastShip).Damage(); Assert.AreEqual(2, (threeMastShip).Lives); }
public void ResultOfHitThreeMastShip() { ThreeMastShip threeMastShip = new ThreeMastShip(); ShipBoardField shipBoardField = new ShipBoardField(threeMastShip); Assert.AreEqual(Shot.Result.Damaged, shipBoardField.Shoot()); }
public void CheckStatusOfNoDamageShip() { ThreeMastShip threeMastShip = new ThreeMastShip(); Assert.AreEqual(Ship.State.Undamaged, (threeMastShip).Status); }