MCPcopy Create free account
hub / github.com/boost-ext/ut / main

Function main

example/cfg/runner.cpp:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34auto ut::cfg<ut::override> = cfg::runner{};
35
36int main() {
37 using namespace ut;
38
39 "should be ignored"_test = [] {
40 expect(throws([] { throw std::runtime_error{"exception!"}; }));
41 expect(1_i == 2) << "doesn't fire";
42 };
43}

Callers

nothing calls this directly

Calls 2

expectFunction · 0.85
throwsFunction · 0.85

Tested by

no test coverage detected