public int[][] BubbleSortDelegate_ByMaxElemntsRowsDesc_Succed(Func <int[][]> func) { int[][] array = func(); BubbleSortDelegate.SortRows(array, KeysForSort.GetMaxRowsElements(array), new Comparison <int>((a, b) => b.CompareTo(a))); return(array); }
public int[][] Test_BubbleSortByMaxElemntsRowsDesc_CorrectValues(Func <int[][]> func) { int[][] array = func(); BubbleSort.SortRows(array, KeysForSort.GetMaxRowsElements(array), new DescendingOrder()); return(array); }