public void MergeSortTests(int[] arr, int item, bool expected) { var result = BinarySearch.Search(arr, item); Assert.IsTrue(result == expected); }
public void Find_PassNullItem_ThrowsArgumentNullException() { Assert.Throws <ArgumentNullException>(() => BinarySearch.Search(null, 1)); }