Exemple #1
0
def test_fromPLFile():
    for file_ in glob(f'{FOLDER_EXAMPLES}/*.pl'):
        MemoryGraph.fromPLFile(file_)
Exemple #2
0
def examples_prolog(example: str) -> str:
    fname = f'{EXAMPLES_PROLOG}/{example}'
    return MemoryGraph.fromPLFile(fname)