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

            var solution = _solver.Star1(_parsedInput);

            Console.WriteLine(solution);
            Assert.AreEqual(883, solution);
        }
Beispiel #2
0
        public void Star1()
        {
            var fileInput = File.Read();
            var input     = _input.Parse(fileInput);

            input.Input = 1;
            var solution = _solver.Star1(input);

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