()
| 62 | assert "error" not in r |
| 63 | |
| 64 | def 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 | |
| 70 | def test_c_finds_includes(): |
| 71 | r = extract_c(FIXTURES / "sample.c") |