Beispiel #1
0
 def main(*argv):
     "BTree test program."
     print BTree.main.__doc__
     tree = BTree(3)
     SearchTree.test(tree)
     return 0
Beispiel #2
0
 def main(*argv):
     "BinarySearchTree test program."
     print BinarySearchTree.main.__doc__
     tree = BinarySearchTree()
     SearchTree.test(tree)
     return 0
Beispiel #3
0
 def main(*argv):
     "AVLTree test program."
     print AVLTree.main.__doc__
     tree = AVLTree()
     SearchTree.test(tree)
     return 0
Beispiel #4
0
 def main(*argv):
     "MWayTree test program."
     print MWayTree.main.__doc__
     tree = MWayTree(3)
     SearchTree.test(tree)
     return 0
Beispiel #5
0
 def main(*argv):
     "AVLTree test program."
     print AVLTree.main.__doc__
     tree = AVLTree()
     SearchTree.test(tree)
     return 0
Beispiel #6
0
 def main(*argv):
     "BTree test program."
     print((BTree.main.__doc__))
     tree = BTree(3)
     SearchTree.test(tree)
     return 0