Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public int[][] Test_BubbleSortByMaxElemntsRowsDesc_CorrectValues(Func <int[][]> func)
 {
     int[][] array = func();
     BubbleSort.SortRows(array, KeysForSort.GetMaxRowsElements(array), new DescendingOrder());
     return(array);
 }