()
| 122 | assert "error" not in r |
| 123 | |
| 124 | def 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 | |
| 130 | def test_c_finds_includes(): |
| 131 | r = extract_c(FIXTURES / "sample.c") |