def test_quick_sort(self): self.result = quick_sort.sort(self.array) self.assertEqual(self.result, self.sorted_array) self.alphaResult = quick_sort.sort(self.alphaArray) self.assertEqual(self.alphaResult, self.sorted_alpha_array)
def sort(arr): return quick_sort.sort(arr)