def test_clear_tree(self): tree = FastRBTree(self.values) tree.clear() self.assertEqual(tree.count, 0)