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

Function main

example/hello_world.cpp:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10constexpr auto sum = [](auto... args) { return (0 + ... + args); };
11
12int main() {
13 using namespace boost::ut;
14
15 "hello world"_test = [] {
16 expect(0_i == sum());
17 expect(1_i == sum(1));
18 expect(3_i == sum(1, 2));
19 };
20}

Callers

nothing calls this directly

Calls 1

expectFunction · 0.85

Tested by

no test coverage detected