def testManyInsert(): _tree = BST() _tree.insert(25) _tree.insert(10) _tree.insert(30) _tree.insert(35) assert _tree.exists(10) assert _tree.exists(25) assert _tree.exists(30) assert _tree.exists(35)
def testOneInsert(): _tree = BST() _tree.insert(30) assert _tree.exists(30)