Definition at line 98 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().
100 s =
"LINESTRING EMPTY";
102 CU_ASSERT_STRING_EQUAL(
r,
s);
105 s =
"LINESTRING(0 0,1 1)";
107 CU_ASSERT_STRING_EQUAL(
r,
s);
110 s =
"LINESTRING(0 0 0,1 1 1)";
112 CU_ASSERT_STRING_EQUAL(
r,
s);
115 s =
"LINESTRING M (0 0 0,1 1 1)";
117 CU_ASSERT_STRING_EQUAL(
r,
s);
120 s =
"LINESTRING ZM (0 0 0 1,1 1 1 1,2 2 2 2,0.141231 4 5 4)";
122 CU_ASSERT_STRING_EQUAL(
r,
s);
125 s =
"LINESTRINGM(0 0 0,1 1 1)";
127 CU_ASSERT_STRING_EQUAL(
r,
s);
130 s =
"LINESTRING ZM EMPTY";
132 CU_ASSERT_STRING_EQUAL(
r,
s);
135 s =
"LINESTRING Z (0 0 0 1, 0 1 0 1)";
137 CU_ASSERT_STRING_EQUAL(
r,
"can not mix dimensionality in a geometry");
static char * cu_wkt_in(char *wkt, uint8_t variant)