MCPcopy
hub / github.com/safishamsi/graphify / test_c_calls_are_inferred

Function test_c_calls_are_inferred

tests/test_languages.py:78–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 assert any(e["relation"] == "calls" for e in r["edges"])
77
78def test_c_calls_are_inferred():
79 r = extract_c(FIXTURES / "sample.c")
80 for e in r["edges"]:
81 if e["relation"] == "calls":
82 assert e["confidence"] == "INFERRED"
83
84
85# ── C++ ───────────────────────────────────────────────────────────────────────

Callers

nothing calls this directly

Calls 1

extract_cFunction · 0.90

Tested by

no test coverage detected