public static IEnumerable <object[]> DifferentNumberConvertData()
 {
     return(Sorting.QuickSort(ArrayWithDifferentNums).Select((t, i) => new object[] { t, ArrayWithDifferentNumsResult[i] }));
 }
示例#2
0
 public void QuickSorting(int[] values, int[] expected)
 {
     Assert.AreEqual(expected, _sorting.QuickSort(values));
 }
 public static IEnumerable <object[]> SameNumberConvertData()
 {
     return(Sorting.QuickSort(ArrayWithSameNumber).Select((t, i) => new object[] { t, ArrayWithSameNumberResult[i] }));
 }