MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cv_expect

Function cv_expect

tests/test_conditional_variants.c:186–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186static int cv_expect(const char *lang, cv_result_t r) {
187 bool ok = r.nodes == 1 && r.clean_names == 1 && r.to_alpha >= 1 && r.to_beta >= 1 &&
188 r.from_caller >= 1 && r.variant_spans >= 2;
189 if (!ok) {
190 fprintf(
191 stderr, " [%s] nodes=%d clean=%d ->alpha=%d ->beta=%d caller->=%d variant_spans=%d\n",
192 lang, r.nodes, r.clean_names, r.to_alpha, r.to_beta, r.from_caller, r.variant_spans);
193 }
194 return ok;
195}
196
197static int cv_run(const char *lang, const cv_file_t *files, int count, const char *pick,
198 const char *alpha, const char *beta, const char *caller) {

Callers 1

cv_runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected