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

Function test_pascal_finds_methods

tests/test_pascal.py:46–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44
45
46def test_pascal_finds_methods():
47 from graphify.extract import extract_pascal
48 r = extract_pascal(FIXTURES / "sample.pas")
49 labels = _labels(r)
50 assert any("Process" in l for l in labels)
51 assert any("Initialize" in l for l in labels)
52 assert any("GetCount" in l for l in labels)
53 assert any("Reset" in l for l in labels)
54
55
56def test_pascal_finds_imports():

Callers

nothing calls this directly

Calls 2

extract_pascalFunction · 0.90
_labelsFunction · 0.70

Tested by

no test coverage detected