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

Function golden_for

tests/test_grammar_labels.c:249–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247};
248
249static const char *golden_for(const char *name) {
250 for (int i = 0; LABEL_GOLDENS[i].name; i++) {
251 if (strcmp(LABEL_GOLDENS[i].name, name) == 0) {
252 return LABEL_GOLDENS[i].hist;
253 }
254 }
255 return NULL;
256}
257
258TEST(grammar_label_goldens) {
259 int n = (int)CBM_GRAMMAR_CASES_COUNT;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected