示例#1
0
        public void Part1()
        {
            var answer = Day14.Part1();

            answer.Should().NotBe(-1);
            answer.Should().Be(2170);
        }
示例#2
0
        public void Part2()
        {
            var answer = Day14.Part2();

            answer.Should().NotBe(-2);
            answer.Should().Be(2422444761283L);
        }
示例#3
0
        public void Part1_Example()
        {
            var answer = Day14.Part1(true);

            answer.Should().Be(1588);
        }
示例#4
0
        public void Part2_Example()
        {
            var answer = Day14.Part2(true);

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