PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void test_wkt_out_polygon ( void  )
static

Definition at line 92 of file cu_out_wkt.c.

References cu_wkt(), WKT_EXTENDED, and WKT_ISO.

Referenced by wkt_out_suite_setup().

93 {
94  CU_ASSERT_STRING_EQUAL(
95  cu_wkt("POLYGON((100 100 2, 100 200 2, 200 200 2, 200 100 2, 100 100 2))",WKT_ISO),
96  "POLYGON Z ((100 100 2,100 200 2,200 200 2,200 100 2,100 100 2))"
97  );
98  CU_ASSERT_STRING_EQUAL(
99  cu_wkt("POLYGON((100 100 2, 100 200 2, 200 200 2, 200 100 2, 100 100 2))",WKT_EXTENDED),
100  "POLYGON((100 100 2,100 200 2,200 200 2,200 100 2,100 100 2))"
101  );
102 }
#define WKT_ISO
Definition: liblwgeom.h:1776
static char * cu_wkt(char *wkt, uint8_t variant)
Definition: cu_out_wkt.c:47
#define WKT_EXTENDED
Definition: liblwgeom.h:1778

Here is the call graph for this function:

Here is the caller graph for this function: