Exemplo n.º 1
0
        public void ResultOfHitThreeMastShip()
        {
            ThreeMastShip  threeMastShip  = new ThreeMastShip();
            ShipBoardField shipBoardField = new ShipBoardField(threeMastShip);

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

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