| 257 | } |
| 258 | |
| 259 | static int ei_edge_present(const EILangFile *files, int nfiles, const char *edge_type, int floor) { |
| 260 | EILangProj lp; |
| 261 | cbm_store_t *store = ei_index_files(&lp, files, nfiles); |
| 262 | int got = store ? cbm_store_count_edges_by_type(store, lp.project, edge_type) : -1; |
| 263 | if (got < floor) { |
| 264 | fprintf(stderr, " [%s] FAIL count=%d expected>=%d\n", edge_type, got, floor); |
| 265 | } |
| 266 | ei_cleanup(&lp, store); |
| 267 | return got >= floor; |
| 268 | } |
| 269 | |
| 270 | /* ═══════════════════════════════════════════════════════════════════════════ |
| 271 | * GREEN GUARD — Python |
no test coverage detected