PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ ASSERT_INTARRAY_EQUAL

#define ASSERT_INTARRAY_EQUAL (   o,
  e,
 
)
Value:
do { \
size_t i = 0; \
for (i = 0; i < n; i++) { \
if (o[i] != e[i]) { \
fprintf(stderr, "[%s:%d]", __FILE__, __LINE__); \
fprintf(stderr, "\nExpected: ["); \
for (i = 0; i < n; i++) \
fprintf(stderr, " %d", e[i]); \
fprintf(stderr, " ]\nObtained: ["); \
for (i = 0; i < n; i++) \
fprintf(stderr, " %d", o[i]); \
fprintf(stderr, " ]\n"); \
CU_FAIL(); \
break; \
} \
} \
CU_PASS(); \
} while(0);

Definition at line 60 of file liblwgeom/cunit/cu_tester.h.