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

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

            Assert.AreEqual(expected, returnedPattern);
        }