MCPcopy Create free account
hub / github.com/David-Haim/concurrencpp / assert_true

Function assert_true

test/source/infra/assertions.cpp:93–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92namespace concurrencpp::tests {
93 void assert_true(bool condition) {
94 if (!condition) {
95 std::cerr << "assertion failed. expected: [true] actual: [false].";
96 std::abort();
97 }
98 }
99
100 void assert_false(bool condition) {
101 if (condition) {

Calls

no outgoing calls