public void Sort_SortJaggedArrayWithFewSolutionsByInterfaceToDelegete(int[][] array, IComparer <int[]> sorter, int returnValue) { SortLogicReverse.Sort(array, sorter); Assert.AreEqual(array[0][0], returnValue); }
public void Sort_SortJaggedArrayWithFewSolutionsByDelegate(int[][] array, Func <int[], int[], int> func, int returnValue) { SortLogicReverse.Sort(array, func); Assert.AreEqual(array[0][0], returnValue); }