Removed testing code
This commit is contained in:
parent
959f74e34f
commit
9975af94f4
1 changed files with 0 additions and 3 deletions
|
@ -211,8 +211,5 @@ def main():
|
||||||
for cls, r in sorted(result.items(),key=lambda e: e[1][0]+e[1][1]):
|
for cls, r in sorted(result.items(),key=lambda e: e[1][0]+e[1][1]):
|
||||||
print("%-12s: %10d, %10d compares, %10d swaps" % (cls.__name__, r[0]+r[1], r[0],r[1]))
|
print("%-12s: %10d, %10d compares, %10d swaps" % (cls.__name__, r[0]+r[1], r[0],r[1]))
|
||||||
|
|
||||||
def test():
|
|
||||||
print(HeapSort().sort([randint(0,500) for i in range(0,100)]))
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in a new issue