Definition at line 60 of file cu_out_wkt.c.
References cu_wkt(), WKT_EXTENDED, WKT_ISO, and WKT_SFSQL.
Referenced by wkt_out_suite_setup().
62 CU_ASSERT_STRING_EQUAL(
cu_wkt(
"POINT(0.1111 0.1111 0.1111 0)",
WKT_ISO),
"POINT ZM (0.1111 0.1111 0.1111 0)");
64 CU_ASSERT_STRING_EQUAL(
cu_wkt(
"POINT(0 0 0 0)",
WKT_SFSQL),
"POINT(0 0)");
66 CU_ASSERT_STRING_EQUAL(
cu_wkt(
"POINTM(0 0 0)",
WKT_ISO),
"POINT M (0 0 0)");
68 CU_ASSERT_STRING_EQUAL(
cu_wkt(
"POINTM(0 0 0)",
WKT_SFSQL),
"POINT(0 0)");
70 CU_ASSERT_STRING_EQUAL(
cu_wkt(
"POINT(100 100)",
WKT_ISO),
"POINT(100 100)");
72 CU_ASSERT_STRING_EQUAL(
cu_wkt(
"POINT(100 100)",
WKT_SFSQL),
"POINT(100 100)");
74 CU_ASSERT_STRING_EQUAL(
cu_wkt(
"POINT(100.1 100 12 12)",
WKT_ISO),
"POINT ZM (100.1 100 12 12)");
75 CU_ASSERT_STRING_EQUAL(
cu_wkt(
"POINT(100.1 100 12 12)",
WKT_EXTENDED),
"POINT(100.1 100 12 12)");
76 CU_ASSERT_STRING_EQUAL(
cu_wkt(
"POINT(100.1 100 12 12)",
WKT_SFSQL),
"POINT(100.1 100)");
78 CU_ASSERT_STRING_EQUAL(
cu_wkt(
"SRID=100;POINT(100.1 100 12 12)",
WKT_SFSQL),
"POINT(100.1 100)");
79 CU_ASSERT_STRING_EQUAL(
cu_wkt(
"SRID=100;POINT(100.1 100 12 12)",
WKT_EXTENDED),
"SRID=100;POINT(100.1 100 12 12)");
static char * cu_wkt(char *wkt, uint8_t variant)