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

Function check_exact

tests/repro/repro_call_node_behaviors.c:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55static void check_exact(const BehaviorCase *test_case, const char *invariant, int actual,
56 int expected, int *failures) {
57 if (actual == expected)
58 return;
59 fprintf(stderr, " [call-node-behavior] case=%s invariant=%s expected=%d actual=%d reason=%s\n",
60 test_case->tag, invariant, expected, actual, test_case->reason);
61 (*failures)++;
62}
63
64static int ast_kind_count(TSNode node, const char *kind) {
65 int count = strcmp(ts_node_type(node), kind) == 0 ? 1 : 0;

Callers 13

check_exact_ast_kindFunction · 0.70
extract_case_with_macrosFunction · 0.70
check_caller_definitionFunction · 0.70
run_binary_behaviorFunction · 0.70
run_subscript_behaviorFunction · 0.70
run_unary_behaviorFunction · 0.70
run_update_behaviorFunction · 0.70
run_delete_behaviorFunction · 0.70
run_field_behaviorFunction · 0.70
run_arrow_behaviorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected