Definition at line 21 of file cu_print.c.
24 int num_old_failures, num_new_failures;
30 printf(
"\nAssert failed:\n\tFormat [%s] generated an error: %s\n", format,
cu_error_msg);
33 num_old_failures = CU_get_number_of_failures();
35 num_new_failures = CU_get_number_of_failures();
36 if (num_new_failures > num_old_failures)
38 printf(
"\nAssert failed:\n\t%s\t(actual)\n\t%s\t(expected)\n", actual, expected);
void cu_error_msg_reset()
char cu_error_msg[MAX_CUNIT_ERROR_LENGTH+1]
#define ASSERT_STRING_EQUAL(o, e)
void lwpoint_free(LWPOINT *pt)
#define LW_PARSER_CHECK_NONE
char * lwpoint_to_latlon(const LWPOINT *p, const char *format)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
References ASSERT_STRING_EQUAL, cu_error_msg, cu_error_msg_reset(), LW_PARSER_CHECK_NONE, lwfree(), lwgeom_from_wkt(), lwpoint_free(), and lwpoint_to_latlon().
Referenced by test_lwpoint_to_latlon_default_format(), test_lwpoint_to_latlon_format_orders(), test_lwpoint_to_latlon_oddball_formats(), and test_lwpoint_to_latlon_optional_format().