Definition at line 219 of file cu_in_wkt.c.
References cu_wkt_in(), lwfree(), r, s, WKT_EXTENDED, WKT_ISO, and WKT_SFSQL.
Referenced by wkt_in_suite_setup().
221 s =
"SRID=5;GEOMETRYCOLLECTION(POINT(0 0),LINESTRING(1 0,0 0),CIRCULARSTRING(0 0,0 1,1 1,0 1,2 2))";
224 CU_ASSERT_STRING_EQUAL(
r,
s);
227 s =
"GEOMETRYCOLLECTION(POINT(0 0),POINT EMPTY,LINESTRING(1 0,0 0),POLYGON EMPTY,CIRCULARSTRING(0 0,0 1,1 1,0 1,2 2))";
230 CU_ASSERT_STRING_EQUAL(
r,
s);
233 s =
"GEOMETRYCOLLECTION Z (POINT Z (0 0 0))";
236 CU_ASSERT_STRING_EQUAL(
r,
s);
239 s =
"GEOMETRYCOLLECTION M (MULTILINESTRING M ((0 0 5,2 0 5),(1 1 5,2 2 5)))";
242 CU_ASSERT_STRING_EQUAL(
r,
s);
246 s =
"GEOMETRYCOLLECTION Z (MULTILINESTRING Z ((0 0 5,2 0 5),(1 1 5,2 2 5)))";
249 CU_ASSERT_STRING_EQUAL(
r,
s);
static char * cu_wkt_in(char *wkt, uint8_t variant)