Macro

ASSERT_MEM_EQ

Check two memory blocks to determine if X == Y.

Since v1.0
#define ASSERT_MEM_EQ(
X, Y, SX, SY, ...)

Parameters 🔗

X in

Memory block.

Y in

Memory block to compare against X.

SX in

Size of X (in bytes).

SY in

Size of Y (in bytes).

... in

Optional message.

Discussion 🔗

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