Ejemplo n.º 1
0
def dShellSort(x):
    
    shellSort = ShellSort(x)
    shellSort.sort()
Ejemplo n.º 2
0
 def testShellSort(self):
     x = [-20,-45,995,912,126,1246,624]
     shellSort = ShellSort(x)
     shellSort.sort()
     self.assertEqual(x,[-45.0, -20.0, 126, 624, 912, 995, 1246])