コード例 #1
0
        public void Count_NumberOfLivingCells_CountBeforeTick()
        {
            var gameOfLife = new GameOfLife(4, 2);

            gameOfLife.Board = BoardA;
            var numberOfLivingCells = gameOfLife.CountLivingCellsOnBoard();

            Assert.AreEqual(3, numberOfLivingCells);
        }