public void TestOnlyNEG() { Solution instance = new Solution(); int[] A = new int[6]; A[0] = -1; A[1] = -3; int min = instance.solution(A); Assert.AreEqual(0, min); }
public void Test2() { Solution instance = new Solution(); int[] A = new int[6]; A[0] = 1; A[1] = 3; A[2] = 6; A[3] = 4; A[4] = 1; A[5] = 2; int min = instance.solution(A); Assert.AreEqual(5, min); }