Beispiel #1
0
        public void Part2_WithExampleData_PlaysGame()
        {
            var input  = "389125467";
            var result = Day23.SolvePart2(input);

            Assert.Equal(149245887792, result);
        }
Beispiel #2
0
        public void Part2RealPuzzle()
        {
            var input  = GetPuzzleInput();
            var result = Day23.SolvePart2(input);

            Assert.Equal(-1, result);
        }
        public void Part2( )
        {
            day23.IteratePart2 = 10000000;
            var actual = day23.SolvePart2( );

            Assert.AreEqual("149245887792", actual);
        }
Beispiel #4
0
        public void Part2()
        {
            var result = Day23.SolvePart2(_input);

            Assert.Equal(2029056128, result);
        }
Beispiel #5
0
        public void Part2()
        {
            var actual = day23.SolvePart2();

            Assert.AreEqual("479010245", actual);
        }
Beispiel #6
0
 public void Test(string input, long expected)
 {
     Assert.Equal(expected, Day23.SolvePart2(input));
 }