public void Test2() { long[] a = new long[] { 1, 2, 3, 4 }; List <int> result = Four.Solve(a); Assert.IsNull(result); }
public void Test3() { long[] a = new long[] { -1, -2, -3, -4, 5 }; List <int> result = Four.Solve(a); Assert.IsNull(result); }
public void Test5() { long[] a = new long[] { -1, -2, 1, 2 }; List <int> result = Four.Solve(a); Assert.IsNotNull(result); this.Check(a, result); }
public void Test1() { long[] a = new long[] { -7, 1, 3, 7, 10, -14, 20 }; List <int> result = Four.Solve(a); Assert.IsNotNull(result); this.Check(a, result); }