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

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

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