예제 #1
0
        public void ShouldReturnBlinkerString(string input, string expected)
        {
            CheckingCells getPattern      = new CheckingCells();
            string        returnedPattern = getPattern.TransformedCellString(input);

            Assert.AreEqual(expected, returnedPattern);
        }
예제 #2
0
        public void ShouldReturnNextGenTransformedString(string input, string expected) //2nd rule
        {
            CheckingCells getPattern      = new CheckingCells();
            string        returnedPattern = getPattern.TransformedCellString(input);

            Assert.AreEqual(expected, returnedPattern);
        }