public void SolverTest1() { StringInput input = new StringInput("5 10 25", "25 10 5", "5 10 10", "5 10 5", "5 10 6"); Day3Solver solution = new Day3Solver(); solution.GetSolution(input).FirstPart.Should().Be("2"); }
public void SolverSecondPartTest2() { StringInput input = new StringInput( "1 2 3", "1 2 3", "1 2 3"); Day3Solver solution = new Day3Solver(); solution.GetSolution(input).SecondPart.Should().Be("3"); }
public void SolverSecondPartTest1() { StringInput input = new StringInput( "5 10 25", "25 10 5", "5 10 10"); Day3Solver solution = new Day3Solver(); solution.GetSolution(input).SecondPart.Should().Be("1"); }