public void aaa(int[] numbers) { var quickSorter = new QuickSorter(); var expectedResult = new List <int>(numbers); expectedResult.Sort(); var result = quickSorter.SortNumbers(numbers); Assert.Equal(expectedResult, result); }
public void SortNumbers_EmptyArray_ThrowsArgumentException(int[] numbers) { var quickSorter = new QuickSorter(); Assert.Throws <ArgumentException>(() => quickSorter.SortNumbers(numbers)); }