Definition at line 197 of file cu_in_wkt.c.
References cu_wkt_in(), lwfree(), r, s, WKT_EXTENDED, and WKT_SFSQL.
Referenced by wkt_in_suite_setup().
199 s =
"MULTIPOLYGON(((0 0,0 1,1 1,0 0)))";
201 CU_ASSERT_STRING_EQUAL(
r,
s);
205 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)))";
207 CU_ASSERT_STRING_EQUAL(
r,
s);
211 s =
"SRID=4;MULTIPOLYGON(((0 0,0 1,1 1,0 0)))";
213 CU_ASSERT_STRING_EQUAL(
r,
s);
static char * cu_wkt_in(char *wkt, uint8_t variant)