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

Function main

example/skip.cpp:10–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include <boost/ut.hpp>
9
10int main() {
11 using namespace boost::ut;
12
13 // clang-format off
14 skip /
15 "don't run"_test = [] {
16 expect(42_i == 43) << "should not fire!";
17 expect(false) << "should fail!";
18 };
19
20 skip / test("don't run") = [] {
21 expect(42_i == 43) << "should not fire!";
22 expect(false) << "should fail!";
23 };
24 // clang-format on
25}

Callers

nothing calls this directly

Calls 2

expectFunction · 0.85
testClass · 0.85

Tested by

no test coverage detected