示例#1
0
        public void Star1()
        {
            _input       = FileHelpers.Read(_filePath);
            _parsedInput = _parser.Parse(_input);

            var solution = _solver.Star1(_parsedInput);

            Console.WriteLine(solution);
            Assert.AreEqual(546, solution);
        }
示例#2
0
        public int Example1(string inp)
        {
            var inputStr = new[] { inp };
            var input    = new Day2Input().Parse(inputStr);

            var solution = _solver.Star1(input);

            Console.WriteLine(solution);
            return(solution);
        }