public void ConditionsForAlongShot_0DamagedCells()
        {
            //Arrange
            Map map = new Map(10, 10);
            //Act
            bool conditionsAreMet = new ShotAlong().ConditionsAreMet(ref map);

            //Assert
            Assert.IsFalse(conditionsAreMet);
        }
        public void ConditionsForAlongShot_1DamagedCells()
        {
            //Arrange
            Map map = new Map(10, 10);

            map.CellsStatuses[3, 4] = CellStatus.DamagedPartOfShip;
            //Act
            bool conditionsAreMet = new ShotAlong().ConditionsAreMet(ref map);

            //Assert
            Assert.IsFalse(conditionsAreMet);
        }
        public void ConditionsForAlongShot_3DamagedCellsOnTheSameLine()
        {
            //Arrange
            Map map = new Map(10, 10);

            map.CellsStatuses[3, 4] = CellStatus.DamagedPartOfShip;
            map.CellsStatuses[3, 5] = CellStatus.DamagedPartOfShip;
            map.CellsStatuses[3, 6] = CellStatus.DamagedPartOfShip;
            //Act
            bool conditionsAreMet = new ShotAlong().ConditionsAreMet(ref map);

            //Assert
            Assert.IsTrue(conditionsAreMet);
        }