def test_counting_sort(self): # counting sort is an integer based sort self.result = counting_sort.sort(self.array) self.assertEqual(self.result, self.sorted_array)
def sort(arr): return counting_sort.sort(arr)