예제 #1
0
        public void TestPart2()
        {
            IEnumerable <string> lines = File.ReadLines(PersonalInput);

            var res = new DayOfDec07().Part2(lines);

            Assert.AreEqual(14177, res);
        }
예제 #2
0
        public void TestPart2_ExampleInput2()
        {
            IEnumerable <string> lines = File.ReadLines(ExampleInput2);

            var res = new DayOfDec07().Part2(lines);

            Assert.AreEqual(126, res);
        }
예제 #3
0
        public static void Main(string[] args)
        {
            string path = args[0]; // @"./dec01/test01.txt"
            IEnumerable <string> lines = File.ReadLines(path);

            DayOfDec dayOfDec = new DayOfDec07();

            dayOfDec.Run(lines);
        }