Пример #1
0
        public void Example1Test()
        {
            var day = new Day07(AdventOfCode2016.Inputs.Day07.testData);

            day.Run();
            Assert.Equal("2", day.GetFirstResult());
        }
Пример #2
0
        public void RealDataTest()
        {
            string input = AdventOfCode2016.Inputs.Day07.realData;

            var day = new Day07(input);

            day.Run();

            Assert.Equal("118", day.GetFirstResult());
            Assert.Equal("260", day.GetSecondResult());
        }