public void TestCountBombsWhenNoBombs()
        {
            Board board = new Board(9, 9, 0);
            List <BoardSquare> testSquares = new List <BoardSquare>();

            testSquares.Add(new BoardSquare(0, 0));
            board.CountBombs(testSquares).Should().Be(0);
        }
        public void TestCountBombs()
        {
            Board board = new Board(9, 9, 0);
            List <BoardSquare> testSquares = new List <BoardSquare>();
            BoardSquare        bombSquare  = new BoardSquare(0, 0);

            for (int i = 0; i < 5; i++)
            {
                bombSquare.value = BoardSquare.BOMB;
                testSquares.Add(bombSquare);
            }

            testSquares.Add(new BoardSquare(0, 0));
            board.CountBombs(testSquares).Should().Be(5);
        }