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

Function test_dfm_no_dangling_edges

tests/test_pascal.py:291–296  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

289
290
291def test_dfm_no_dangling_edges():
292 from graphify.extract import extract_delphi_form
293 r = extract_delphi_form(FIXTURES / "sample.dfm")
294 node_ids = {n["id"] for n in r["nodes"]}
295 for e in r["edges"]:
296 assert e["source"] in node_ids, f"Dangling source: {e}"
297
298
299def test_dfm_binary_returns_empty_not_crash():

Callers

nothing calls this directly

Calls 1

extract_delphi_formFunction · 0.90

Tested by

no test coverage detected