public int?BinarySearch_ElementToFindInTheStringArray_PositionOfElementInTheArray(StringArray array, string elementToFind) { return(array.Array.BinarySearch(elementToFind, string.Compare)); }
public void QuickSort_StringArray_ExpectedSortedArray(StringArray arrayToSort) { arrayToSort.Array.QuickSort(string.Compare); Assert.True(IsArraySorted(arrayToSort.Array)); }