Macro

ASSERT_EQ

Check two integers, floating-point numbers, or pointers to determine if X == Y.

Since v1.0
#define ASSERT_EQ(
X, Y, ...)

Parameters 🔗

X in

Value.

Y in

Value to compare against X.

... in

Optional message.

Discussion 🔗

If X != Y, the test case is aborted.