Beispiel #1
0
        public void ResultOfHitThreeMastShip()
        {
            ThreeMastShip  threeMastShip  = new ThreeMastShip();
            ShipBoardField shipBoardField = new ShipBoardField(threeMastShip);

            Assert.AreEqual(Shot.Result.Damaged, shipBoardField.Shoot());
        }
Beispiel #2
0
        public void ResultOfHitOneMastShip()
        {
            OneMastShip    oneMastShip    = new OneMastShip();
            ShipBoardField shipBoardField = new ShipBoardField(oneMastShip);

            Assert.AreEqual(Shot.Result.Destroyed, shipBoardField.Shoot());
        }