VerifyGreaterEqual
bool VerifyGreaterEqual(T actual, T expected)Description
Verifies that actual is greater than or equal to expected (actual >= expected).
Logs a PASS message if the condition holds, a FAIL message otherwise.
Both arguments must be of compatible numeric types.
Parameters
- actual - The value being tested (uint8_t, int8, int or float).
- expected - The lower bound to compare against.
Returns
true if actual >= expected, false otherwise.
Example
void main()
{
VerifyGreaterEqual(5, 5); // PASS
VerifyGreaterEqual(6, 5); // PASS
VerifyGreaterEqual(4, 5); // FAIL
}