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

Function main

kernel/tests/mocks/vp_pool_t/behavior.cpp:300–307  ·  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

298/// @return Always returns bsl::exit_success.
299///
300[[nodiscard]] auto
301main() noexcept -> bsl::exit_code
302{
303 bsl::enable_color();
304
305 static_assert(mk::tests() == bsl::ut_success());
306 return mk::tests();
307}

Callers

nothing calls this directly

Calls 1

testsFunction · 0.50

Tested by

no test coverage detected