MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / test_pascal_all_edges_extracted

Function test_pascal_all_edges_extracted

tests/test_pascal.py:102–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100
101
102def test_pascal_all_edges_extracted():
103 from graphify.extract import extract_pascal
104 r = extract_pascal(FIXTURES / "sample.pas")
105 structural = {"contains", "method", "inherits", "imports"}
106 for e in r["edges"]:
107 if e["relation"] in structural:
108 assert e["confidence"] == "EXTRACTED", f"Expected EXTRACTED: {e}"
109
110
111def test_pascal_no_dangling_edges():

Callers

nothing calls this directly

Calls 1

extract_pascalFunction · 0.90

Tested by

no test coverage detected