21{
23 char *wkt, *exp_wkt;
24
25
27
29
34
37
38 exp_wkt = "GEOMETRYCOLLECTION(POLYGON((5 5,20 0,10 0,5 5)))";
39 if (strcmp(wkt, exp_wkt))
40 fprintf(stderr, "\nExp: %s\nObt: %s\n", exp_wkt, wkt);
41
42 CU_ASSERT_STRING_EQUAL(wkt, exp_wkt);
44}
void cu_error_msg_reset()
void lwgeom_free(LWGEOM *geom)
#define LW_PARSER_CHECK_NONE
LWGEOM * lwgeom_delaunay_triangulation(const LWGEOM *geom, double tolerance, int32_t edgeOnly)
Take vertices of a geometry and build a delaunay triangulation on them.
LWGEOM * lwgeom_normalize(const LWGEOM *geom)
char * lwgeom_to_ewkt(const LWGEOM *lwgeom)
Return an alloced string.
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)