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

Function test_lfm_no_dangling_edges

tests/test_pascal.py:191–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189
190
191def test_lfm_no_dangling_edges():
192 from graphify.extract import extract_lazarus_form
193 r = extract_lazarus_form(FIXTURES / "sample.lfm")
194 node_ids = {n["id"] for n in r["nodes"]}
195 for e in r["edges"]:
196 assert e["source"] in node_ids, f"Dangling source: {e}"
197
198
199# ── Lazarus Package (.lpk) ───────────────────────────────────────────────────

Callers

nothing calls this directly

Calls 1

extract_lazarus_formFunction · 0.90

Tested by

no test coverage detected