public void SolveTest() { var sortedNumber = new List <int> { 1, 2, 4, 7, 11, 15 }; Problem010.Solve(sortedNumber, 15, out int a, out int b); Assert.IsTrue(a == 4 && b == 11); }
public void IsCorrectProblem010() { var problem = new Problem010(); Assert.Equal(Answers["10"], problem.Solve()); }