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

Function main

example/macro.cpp:29–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27};
28
29int main() {
30 TEST("macro") { EXPECT(1 != 2); };
31
32 TEST("vector") {
33 std::vector<int> v(5);
34
35 EXPECT((5u == std::size(v)) >> fatal);
36
37 TEST("resize bigger") {
38 v.resize(10);
39 EXPECT(10u == std::size(v));
40 };
41 };
42}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected