Exemplo n.º 1
0
 def test_nonempty_tree(self):
     bst = BinarySearchTree(20)
     self.assertEqual(bst.isEmpty(), False)
Exemplo n.º 2
0
 def test_empty_tree(self):
     bst = BinarySearchTree()
     self.assertEqual(bst.isEmpty(), True)
Exemplo n.º 3
0
 def test01_is_Empty(self):
     binarytree = BinarySearchTree()
     self.assertEqual(binarytree.isEmpty(), True)