Example #1
0
        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);
        }
Example #2
0
        public void SortNumbers_EmptyArray_ThrowsArgumentException(int[] numbers)
        {
            var quickSorter = new QuickSorter();

            Assert.Throws <ArgumentException>(() => quickSorter.SortNumbers(numbers));
        }