def test_create_tree_replanner_balls():
    d = "pond-benchmarks/cp2fsc-and-replanner-benchmarks/replanner/balls"
    n = 0
    for fname in recursively_find_files(d):
        assert os.path.exists(fname)
        tree = PDDL_Tree.create(fname)
        assert tree is not None
        n += 1
    assert n == 156
def test_create_tree_contff():
    d = "pond-benchmarks/contff-tests"
    n = 0
    for fname in recursively_find_files(d):
        assert os.path.exists(fname)
        tree = PDDL_Tree.create(fname)
        assert tree is not None
        n += 1
    assert n == 138
def test_create_tree_replanner_rocksample():
    """
    Warning: this will take a while because there are a lot of samples
    """
    d = "pond-benchmarks/cp2fsc-and-replanner-benchmarks/replanner/rocksample"
    n = 0
    for fname in recursively_find_files(d):
        assert os.path.exists(fname)
        tree = PDDL_Tree.create(fname)
        assert tree is not None
        n += 1
    assert n == 402