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

Function golden_for

tests/test_grammar_labels.c:244–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242};
243
244static const char *golden_for(const char *name) {
245 for (int i = 0; LABEL_GOLDENS[i].name; i++) {
246 if (strcmp(LABEL_GOLDENS[i].name, name) == 0) {
247 return LABEL_GOLDENS[i].hist;
248 }
249 }
250 return NULL;
251}
252
253TEST(grammar_label_goldens) {
254 int n = (int)CBM_GRAMMAR_CASES_COUNT;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected