示例#1
0
        public void Example3()
        {
            var inputStr = new[] { "14" };
            var input    = new Day1Input().Parse(inputStr);

            var solution = _solver.Star2(input);

            Console.WriteLine(solution);
            Assert.AreEqual(2, solution);
        }
示例#2
0
        public void Star2()
        {
            _input       = FileHelpers.Read(_filePath);
            _parsedInput = _parser.Parse(_input);

            var solution = _solver.Star2(_parsedInput);

            Console.WriteLine(solution);
            Assert.AreEqual(192684960, solution);
        }