Beispiel #1
0
        public void Part2()
        {
            var answer = Day06.Part2();

            answer.Should().NotBe(-2);
            answer.Should().Be(1629570219571L);
        }
Beispiel #2
0
        public void Part1()
        {
            var answer = Day06.Part1();

            answer.Should().NotBe(-1);
            answer.Should().Be(359344L);
        }
Beispiel #3
0
        public void Part2_Example()
        {
            var answer = Day06.Part2(true);

            answer.Should().Be(26984457539);
        }
Beispiel #4
0
        public void Part1_Example(int iterations, int expected)
        {
            var answer = Day06.Part1(true, iterations);

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