public void Problem4_Solution1_TestWithProvidedExample1() { var sut = new Problem4_Solution1(); var input = new int[] { 1, 2, 3, 5 }; var actual = sut.Solve(input); Assert.AreEqual(4, actual); }
public void Problem4_Solution1_TestWithProvidedExample3() { var sut = new Problem4_Solution1(); var input = new int[] { -2, -6, -10, 1, 2 }; var actual = sut.Solve(input); Assert.AreEqual(-9, actual); }