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

File test_semantic.c

tests/test_semantic.c:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/*
2 * test_semantic.c — Unit tests for semantic.c (pure functions).
3 *
4 * Covers: tokenize, cosine, normalize, vec_add_scaled, random_index,

Callers

nothing calls this directly

Calls 15

cbm_sem_tokenizeFunction · 0.85
fill_vecFunction · 0.85
cbm_sem_cosineFunction · 0.85
cbm_sem_normalizeFunction · 0.85
cbm_sem_vec_add_scaledFunction · 0.85
cbm_sem_random_indexFunction · 0.85
cbm_sem_proximityFunction · 0.85
cbm_sem_diffuseFunction · 0.85
cbm_sem_corpus_newFunction · 0.85
cbm_sem_corpus_doc_countFunction · 0.85
cbm_sem_corpus_freeFunction · 0.85

Tested by

no test coverage detected