kaycxx-test
C++ unit test framework
Loading...
Searching...
No Matches
assert_greater_or_equal

Asserts that the actual value is greater than or equal to the expected value.

The value type must provide a complete ordering. Raw pointers are intentionally rejected because relational pointer operators compare addresses, not pointed-to values.

#include <kaycxx/test.hpp>
using namespace kaycxx::test;
int main() {
assert_greater_or_equal(10, 10);
assert_greater_or_equal(11, 10);
}
Unit test framework functions and types.
Definition test.hpp:15
Includes the complete public test API.

Use this when equality is also acceptable.