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

Function tc_resolved_equal

tests/test_test_conventions.c:551–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549}
550
551static bool tc_resolved_equal(const CBMResolvedCallArray *a,
552 const CBMResolvedCallArray *b) {
553 if (a->count != b->count) return false;
554 for (int i = 0; i < a->count; i++) {
555 const CBMResolvedCall *x = &a->items[i], *y = &b->items[i];
556 if (!tc_text(x->caller_qn, y->caller_qn) || !tc_text(x->callee_qn, y->callee_qn) ||
557 !tc_text(x->strategy, y->strategy) || !tc_text(x->reason, y->reason) ||
558 x->confidence != y->confidence || x->kind != y->kind ||
559 x->site_start_byte != y->site_start_byte || x->site_end_byte != y->site_end_byte ||
560 x->source_origin != y->source_origin) return false;
561 }
562 return true;
563}
564
565static bool tc_resolved_foo(const CBMResolvedCallArray *out,
566 const char *caller, const char *callee) {

Callers 1

Calls 1

tc_textFunction · 0.85

Tested by

no test coverage detected