Definition at line 192 of file cu_in_wkt.c.
References cu_wkt_in(), lwfree(), r, s, WKT_EXTENDED, and WKT_SFSQL.
Referenced by wkt_in_suite_setup().
194 s =
"MULTIPOLYGON(((0 0,0 1,1 1,0 0)))";
196 CU_ASSERT_STRING_EQUAL(
r,
s);
200 s =
"MULTIPOLYGON(((0 0,0 10,10 10,0 0),(1 1,1 2,2 2,1 1)),((-10 -10,-10 -5,-5 -5,-10 -10)))";
202 CU_ASSERT_STRING_EQUAL(
r,
s);
206 s =
"SRID=4;MULTIPOLYGON(((0 0,0 1,1 1,0 0)))";
208 CU_ASSERT_STRING_EQUAL(
r,
s);
static char * cu_wkt_in(char *wkt, uint8_t variant)