public void Test3() { int[] expected = new int[] { 5, 5 }; int[] arr = new int[] { 1, 2, 3, 4, 5, 16 }; var actual = Class13.SlidingSubArray(arr, 16); Assert.Equal(expected, actual); }
public void Test4() { int[] expected = null; int[] arr = new int[] { 0 }; var actual = Class13.SlidingSubArray(arr, 1); Assert.Equal(expected, actual); }
public void Test1() { int[] expected = new int[] { 2, 3 }; int[] arr = new int[] { 1, 2, 3, 5, 2 }; var actual = Class13.SlidingSubArray(arr, 8); Assert.Equal(expected, actual); }