Definition at line 143 of file cu_in_wkt.c.
References cu_wkt_in(), lwfree(), r, s, and WKT_SFSQL.
Referenced by wkt_in_suite_setup().
145 s =
"POLYGON((0 0,0 1,1 1,0 0))";
147 CU_ASSERT_STRING_EQUAL(
r,
s);
150 s =
"POLYGON Z ((0 0,0 10,10 10,10 0,0 0),(1 1 1,1 2 1,2 2 1,2 1 1,1 1 1))";
152 CU_ASSERT_STRING_EQUAL(
r,
"can not mix dimensionality in a geometry");
155 s =
"POLYGON Z ((0 0,0 10,10 10,10 0,0 0),(1 1,1 2,2 2,2 1,1 1))";
157 CU_ASSERT_STRING_EQUAL(
r,
"can not mix dimensionality in a geometry");
static char * cu_wkt_in(char *wkt, uint8_t variant)