PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ test_wkt_out_polygon()

static void test_wkt_out_polygon ( void  )
static

Definition at line 100 of file cu_out_wkt.c.

101 {
102  CU_ASSERT_STRING_EQUAL(
103  cu_wkt("POLYGON((100 100 2, 100 200 2, 200 200 2, 200 100 2, 100 100 2))",WKT_ISO),
104  "POLYGON Z ((100 100 2,100 200 2,200 200 2,200 100 2,100 100 2))"
105  );
106  CU_ASSERT_STRING_EQUAL(
107  cu_wkt("POLYGON((100 100 2, 100 200 2, 200 200 2, 200 100 2, 100 100 2))",WKT_EXTENDED),
108  "POLYGON((100 100 2,100 200 2,200 200 2,200 100 2,100 100 2))"
109  );
110 }
static char * cu_wkt(char *wkt, uint8_t variant)
Definition: cu_out_wkt.c:46
#define WKT_EXTENDED
Definition: liblwgeom.h:2186
#define WKT_ISO
Definition: liblwgeom.h:2184

References cu_wkt(), WKT_EXTENDED, and WKT_ISO.

Referenced by wkt_out_suite_setup().

Here is the call graph for this function:
Here is the caller graph for this function: