Esempio n. 1
0
def dCountingSort(x):
    
    countingSort = CountingSort(x)
    x = countingSort.sort()
Esempio n. 2
0
 def testCountingSort(self):
     x = [-20,-45,995,912,126,1246,624]
     countingSort = CountingSort(x)
     x = countingSort.sort()
     self.assertEqual(x,[-45.0, -20.0, 126, 624, 912, 995, 1246])