public void GivenValidInput_SolvePartOne_ReturnsExpectedResult(int input, int expectedResult) { var puzzle = new TyrannyOfRocketEquationPuzzle(input); int result = puzzle.SolvePartOne(); result.Should().Be(expectedResult); }
public void SolvePuzzle(params int[] input) { var puzzle = new TyrannyOfRocketEquationPuzzle(input); var partOneResult = puzzle.SolvePartOne(); var partTwoResult = puzzle.SolvePartTwo(); _output.WriteLine(partOneResult.ToString()); _output.WriteLine(partTwoResult.ToString()); }