Definition at line 313 of file cu_in_wkt.c.
References cu_wkt_in(), lwfree(), r, s, WKT_EXTENDED, and WKT_ISO.
Referenced by wkt_in_suite_setup().
315 s =
"POLYHEDRALSURFACE(((0 0 0,0 0 1,0 1 0,0 0 0)),((0 0 0,0 1 0,1 0 0,0 0 0)),((0 0 0,1 0 0,0 0 1,0 0 0)),((1 0 0,0 1 0,0 0 1,1 0 0)))";
317 CU_ASSERT_STRING_EQUAL(
r,
s);
321 s =
"POLYHEDRALSURFACE Z (((0 0 0,0 0 1,0 1 0,0 0 0)),((0 0 0,0 1 0,1 0 0,0 0 0)),((0 0 0,1 0 0,0 0 1,0 0 0)),((1 0 0,0 1 0,0 0 1,1 0 0)))";
323 CU_ASSERT_STRING_EQUAL(
r,
s);
327 s =
"POLYHEDRALSURFACE(((0 1 2,3 4 5,6 7,0 1 2)))";
329 CU_ASSERT_STRING_EQUAL(
r,
"can not mix dimensionality in a geometry");
static char * cu_wkt_in(char *wkt, uint8_t variant)