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

Function test_pascal_finds_methods

tests/test_pascal.py:61–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59
60
61def test_pascal_finds_methods():
62 from graphify.extract import extract_pascal
63 r = extract_pascal(FIXTURES / "sample.pas")
64 labels = _labels(r)
65 assert any("Process" in l for l in labels)
66 assert any("Initialize" in l for l in labels)
67 assert any("GetCount" in l for l in labels)
68 assert any("Reset" in l for l in labels)
69
70
71def test_pascal_finds_imports():

Callers

nothing calls this directly

Calls 2

extract_pascalFunction · 0.90
_labelsFunction · 0.70

Tested by

no test coverage detected