Esempio n. 1
0
        public void BSShipIsGone()
        {
            BattleShips battleShipsTest = new BattleShips();

            battleShipsTest.player[battleShipsTest.battleShipOppositePlayer].shipLengths[3] = 0;
            Assert.AreEqual(true, battleShipsTest.IsShipGone(3));
        }
Esempio n. 2
0
        public void BSShipIsNotGone()
        {
            BattleShips battleShipsTest = new BattleShips();

            Assert.AreEqual(false, battleShipsTest.IsShipGone(3));
        }