public void Test4() { int[] expected = new int[] { 0, 1 }; int[] input = new int[] { 5, -5 }; var actual = Class15.ZeroSumSubarray(input); Assert.Equal(expected, actual); }
public void Test1() { int[] expected = new int[] { 1, 4 }; int[] input = new int[] { 2, 4, -2, 1, -3, 5, -3 }; var actual = Class15.ZeroSumSubarray(input); Assert.Equal(expected, actual); }