49 char *msg1 =
"test_mindistance2d_tolerance failed (got %g expected %g) at line %d\n";
50 char *msg2 =
"\n\ndo_test_mindistance2d_tolerance: NULL lwgeom generated from WKT\n %s\n\n";
70 if ( fabs(
distance - expected_res) > 0.00001 )
72 printf(msg1,
distance, expected_res, line);
void lwgeom_free(LWGEOM *geom)
#define LW_PARSER_CHECK_NONE
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
Datum distance(PG_FUNCTION_ARGS)