示例#1
0
        public void It_ticks_with_a_birth()
        {
            var seed = new List <int[]> {
                new[] { 2, 0 }, new[] { 1, 1 }, new[] { 2, 1 }
            };
            var game   = new GameOfLife(seed);
            var births = game.Births();

            Assert.Equal(new List <int[]> {
                new[] { 1, 0 }
            }, births);
        }