Macro

EXPECT_TRUE

Check if X asserts as true.

Since v1.0
#define EXPECT_TRUE(
X, ...)

Parameters 🔗

X in

Boolean expression.

... in

Optional message.

Discussion 🔗

If X asserts false, the test case fails.