def test_quick_sort(): ''' make sure bubble_sort works correctly ''' assert sorting.quick_sort([1,2,3,8,7]) == [1, 2, 3, 7, 8], 'incorrect' assert sorting.quick_sort([9,25,25,3,7,1,1]) == [ 1, 1, 3, 7, 9, 25, 25], 'incorrect' assert sorting.quick_sort(['dee','avs','bee','eks']) == [ 'avs', 'bee', 'dee', 'eks'], 'incorrect'
def test_quick_sort(): """ make sure quick_sort works correctly """ assert sorting.quick_sort([3, 2, 1]) == [1, 2, 3], 'incorrect' assert sorting.quick_sort([5, 7, 9, 1]) == [1, 5, 7, 9], 'incorrect' assert sorting.quick_sort([-1, -5, 4, 0, -7]) == [-7, -5, -1, 0, 4], 'incorrect'
def test_quick_sort(): ''' Ensures that quick_sort function works. ''' assert sorting.quick_sort([5,4,3,2,1])==[1,2,3,4,5],'incorrect'
def test_quick_sort(): assert sorting.quick_sort([19, 3, 2, 7, 4, 45, 9]) == [2, 3, 4, 7, 9, 19, 45], 'Correct'
def test_quick_sort(n): '''Test to see if quick sort, sorts correctly''' assert sorting.quick_sort([1,8,79,5,8,9]) == [1, 5, 8, 8, 9, 79] assert sorting.quick_sort([5,8,9,7,4,5]) == [4, 5, 5, 7, 8, 9]
def test_quick_sort(): assert sorting.quick_sort([8, 3, 2, 7, 4]) == [2,3,4,7,8], 'incorrect' assert sorting.quick_sort([10, 1, 12, 9, 2]) == [1,2,9,10,12], 'incorrect' assert sorting.quick_sort([2, 6, 1, 4, 5]) == [1,2,4,5,6], 'incorrect'