def validate_nodes(root):
    subnodes = root._subnodes()
    entries  = root._entries()
    subnode_count = sum((node._size for node in subnodes))
    total = subnode_count + len(entries)
    assert root._size == total
    for node in subnodes:
        validate_nodes(node)
Using an unknown shellType should raise NotImplementedError
dataset/ETHPy150Open samth/pycket/pycket/hash/persistent_hash_map.py/validate_nodes--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_usage.py/CompleterNotImplementedTestCase.test_unknownShell