예제 #1
0
        public void PartBTests(string input, int expectedOutput)
        {
            var day    = new Day23();
            var result = day.SolveB(input);

            Assert.AreEqual(expectedOutput, result);
        }
예제 #2
0
        public void DoItB() // 131926268 is too high.  131926259 is too high.  129444177 is right!  wow this was REALLY hard.
        {
            var day    = new Day23();
            var result = day.SolveB(InputData.Day23);

            Console.WriteLine(result);
            Assert.IsTrue(result < 131926268, "Result is too high");
            Assert.IsTrue(result < 131926259, "Result is too high");
        }
예제 #3
0
        public void DoItB_Solved()
        {
            var day = new Day23();

            Assert.AreEqual(129444177, day.SolveB(InputData.Day23));
        }