Пример #1
0
        public void Live_Cell_With_Fewer_Than_Two_Neighbors_Should_Die()
        {
            var rule = new LiveCellWithFewerThanTwoNeighborsRule();

            rule.ShouldLive(1).Should().BeFalse();
        }
Пример #2
0
        public void Cell_with_fewer_than_two_neighbours()
        {
            var cellRule = new LiveCellWithFewerThanTwoNeighborsRule();

            cellRule.ShouldLive(1).Should().BeFalse();
        }