PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ test_wkt_out_polygon()

static void test_wkt_out_polygon ( void  )
static

Definition at line 91 of file cu_out_wkt.c.

References cu_wkt(), WKT_EXTENDED, and WKT_ISO.

Referenced by wkt_out_suite_setup().

92 {
93  CU_ASSERT_STRING_EQUAL(
94  cu_wkt("POLYGON((100 100 2, 100 200 2, 200 200 2, 200 100 2, 100 100 2))",WKT_ISO),
95  "POLYGON Z ((100 100 2,100 200 2,200 200 2,200 100 2,100 100 2))"
96  );
97  CU_ASSERT_STRING_EQUAL(
98  cu_wkt("POLYGON((100 100 2, 100 200 2, 200 200 2, 200 100 2, 100 100 2))",WKT_EXTENDED),
99  "POLYGON((100 100 2,100 200 2,200 200 2,200 100 2,100 100 2))"
100  );
101 }
#define WKT_ISO
Definition: liblwgeom.h:2074
static char * cu_wkt(char *wkt, uint8_t variant)
Definition: cu_out_wkt.c:46
#define WKT_EXTENDED
Definition: liblwgeom.h:2076
Here is the call graph for this function:
Here is the caller graph for this function: