예제 #1
0
        public void It_gets_birth_candidates()
        {
            var seed = new List <int[]> {
                new[] { 0, 0 }
            };
            var game       = new GameOfLife(seed);
            var candidates = game.BirthCandidates();

            Assert.Equal(game.Neighbours(new[] { 0, 0 }), candidates);
        }