public void Test4() { int expected = 0; int[] input = new int[] { 7, 7 }; var actual = Class18.FirstOccurence(input, 7); Assert.Equal(expected, actual); }
public void Test2() { int expected = 3; int[] input = new int[] { 1, 3, 4, -6, -6, -6, 7 }; var actual = Class18.FirstOccurence(input, -6); Assert.Equal(expected, actual); }