public int Example1(string inp1) { var inputStr = new[] { inp1 }; var input = _input.Parse(inputStr); var solution = _solver.Star1(input); Console.WriteLine(solution); return(solution); }
public void Star1() { _input = FileHelpers.Read(_filePath); _parsedInput = _parser.Parse(_input); var solution = _solver.Star1(_parsedInput); Console.WriteLine(solution); Assert.AreEqual(248, solution); }