MCPcopy Create free account
hub / github.com/Niko1221/Strata / check

Function check

engine/src/core/conversation_cache_test.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace {
26int checks = 0;
27void check(bool value, const char* description) {
28 ++checks;
29 if (!value) { std::fprintf(stderr, "FAIL: %s\n", description); std::exit(1); }
30}
31SavedConversation image(std::initializer_list<int32_t> ids, bool cvec = true) {
32 SavedConversation s;
33 s.live.ids = ids;

Callers 3

mainFunction · 0.70

Calls 1

exitFunction · 0.85

Tested by

no test coverage detected