Definition at line 68 of file cu_in_wkt.c.
References cu_wkt_in(), lwfree(), r, s, WKT_ISO, and WKT_SFSQL.
Referenced by wkt_in_suite_setup().
70 s =
"POINT(1 2) foobar";
72 CU_ASSERT_STRING_EQUAL(
"parse error - invalid geometry",
r);
77 CU_TEST ( ! strcmp(
r,
"POINT(inf 0)") || ! strcmp(
r,
"POINT(1.#INF 0)") || ! strcmp(
r,
"POINT(Infinity 0)") );
82 CU_ASSERT_STRING_EQUAL(
r,
s);
87 CU_ASSERT_STRING_EQUAL(
r,
s);
92 CU_ASSERT_STRING_EQUAL(
r,
s);
static char * cu_wkt_in(char *wkt, uint8_t variant)