예제 #1
0
        public void Part2_Answer()
        {
            var day8   = new Day8();
            var actual = day8.FindHighest(TEST_INPUT);

            Assert.Equal(6619, actual);
        }
예제 #2
0
        public void Part2()
        {
            var day8   = new Day8();
            var actual = day8.FindHighest(@"b inc 5 if a > 1
a inc 1 if b < 5
c dec -10 if a >= 1
c inc -20 if c == 10");

            Assert.Equal(10, actual);
        }