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

Function test_c_finds_functions

tests/test_languages.py:124–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122 assert "error" not in r
123
124def test_c_finds_functions():
125 r = extract_c(FIXTURES / "sample.c")
126 labels = _labels(r)
127 assert any("process" in l for l in labels)
128 assert any("main" in l for l in labels)
129
130def test_c_finds_includes():
131 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