public void InterpolationSearchIsRightIndex(int[] array, int key, int expectedIndex) { Assert.AreEqual(expectedIndex, Searching.InterpolationSearch(array, key)); }
public void InterpolationSearchIsRightIndex(int[] array, int key, int expectedIndex) { Assert.AreEqual(expectedIndex, Searching.InterpolationSearch(array, key)); }