PostGIS  2.5.0beta1dev-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 57 of file liblwgeom/cunit/cu_tester.h.

Referenced by test_unionfind_collapse_cluster_ids(), test_unionfind_create(), and test_unionfind_union().