MCPcopy Create free account
hub / github.com/Bareflank/hypervisor / main

Function main

example/default/tests/template/behavior.cpp:278–285  ·  view source on GitHub ↗

<!-- description --> @brief Main function for this unit test. If a call to bsl::ut_check() fails the application will fast fail. If all calls to bsl::ut_check() pass, this function will successfully return with bsl::exit_success. <!-- inputs/outputs --> @return Always returns bsl::exit_success.

Source from the content-addressed store, hash-verified

276/// @return Always returns bsl::exit_success.
277///
278[[nodiscard]] auto
279main() noexcept -> bsl::exit_code
280{
281 bsl::enable_color();
282
283 static_assert(example::tests() == bsl::ut_success());
284 return example::tests();
285}

Callers

nothing calls this directly

Calls 1

testsFunction · 0.70

Tested by

no test coverage detected