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

Function test_c_finds_functions

tests/test_languages.py:64–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 assert "error" not in r
63
64def test_c_finds_functions():
65 r = extract_c(FIXTURES / "sample.c")
66 labels = _labels(r)
67 assert any("process" in l for l in labels)
68 assert any("main" in l for l in labels)
69
70def test_c_finds_includes():
71 r = extract_c(FIXTURES / "sample.c")

Callers

nothing calls this directly

Calls 2

extract_cFunction · 0.90
_labelsFunction · 0.70

Tested by

no test coverage detected