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