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

Function check

engine/src/spec/controller_test.cpp:10–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace {
9int g_fail = 0;
10void check(bool ok, const char* what) {
11 if (!ok) { std::fprintf(stderr, "FAIL: %s\n", what); ++g_fail; }
12}
13const char* name(Source s) { return s == Source::Mtp ? "mtp" : s == Source::Lookup ? "lookup" : "none"; }
14} // namespace
15

Callers 2

mainFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected