PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ ASSERT_STRING_EQUAL

#define ASSERT_STRING_EQUAL (   o,
 
)
Value:
do { \
if ( strcmp(o,e) != 0 ) \
fprintf(stderr, "[%s:%d]\n Expected: %s\n Obtained: %s\n", __FILE__, __LINE__, (e), (o)); \
CU_ASSERT_STRING_EQUAL(o,e); \
} while (0);

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

43 { \
44 if ( strcmp(o,e) != 0 ) \
45 fprintf(stderr, "[%s:%d]\n Expected: %s\n Obtained: %s\n", __FILE__, __LINE__, (e), (o)); \
46 CU_ASSERT_STRING_EQUAL(o,e); \
47} while (0);