def test_CountOneNode(self): node = BSTNode(1, 1, None) tree = BST(node) self.assertEqual(tree.Count(), 1)
def test_CountEmpty(self): tree = BST(None) self.assertEqual(tree.Count(), 0)