public static IEnumerable <object[]> DifferentNumberConvertData() { return(Sorting.QuickSort(ArrayWithDifferentNums).Select((t, i) => new object[] { t, ArrayWithDifferentNumsResult[i] })); }
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] })); }