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