Example #1
0
        public void Part2()
        {
            var answer = Day18.Part2();

            answer.Should().NotBe(-2);
            answer.Should().Be(4595L);
        }
Example #2
0
        public void Part1()
        {
            var answer = Day18.Part1();

            answer.Should().NotBe(-1);
            answer.Should().BeLessThan(5620);
            answer.Should().BeLessThan(5619);
            answer.Should().Be(3884L);
        }
Example #3
0
        public void Part2_Example()
        {
            var answer = Day18.Part2(true);

            answer.Should().Be(3993);
        }
Example #4
0
        public void Part1_Example()
        {
            var answer = Day18.Part1(true);

            answer.Should().Be(4140);
        }