Macro

EXPECT_NULL

Check two pointers to determine if X == NULL.

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

Parameters 🔗

X in

Pointer to compare against NULL.

... in

Optional message.

Discussion 🔗

If X != NULL, the test case fails.