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