public void Star1() { _input = FileHelpers.Read(_filePath); _parsedInput = _parser.Parse(_input); var solution = _solver.Star1(_parsedInput); Console.WriteLine(solution); Assert.AreEqual(546, solution); }
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); }