Ejemplo n.º 1
0
        public void Part2()
        {
            var answer = Day20.Part2();

            answer.Should().NotBe(-2);
            answer.Should().Be(17009L);
        }
Ejemplo n.º 2
0
        public void Part1()
        {
            var answer = Day20.Part1();

            answer.Should().NotBe(-1);
            answer.Should().BeLessThan(5402L);
            answer.Should().Be(5229);
        }
Ejemplo n.º 3
0
        public void Part1_Example()
        {
            var answer = Day20.Part1(true);

            answer.Should().Be(35);
        }
Ejemplo n.º 4
0
        public void Part2_Example()
        {
            var answer = Day20.Part2(true);

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