예제 #1
0
        public void Step_Works_Correctly(string dataBefore, string dataAfter)
        {
            var cellsBefore = Parser.Parse(dataBefore);
            var cellsAfter  = Parser.Parse(dataAfter);

            var(cells, changed) = Model2.Step(cellsBefore);

            Assert.That(changed, Is.True);
            Assert.That(cells, Is.EquivalentTo(cellsAfter));
        }