PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ test_wkt_out_multipolygon()

static void test_wkt_out_multipolygon ( void  )
static

Definition at line 126 of file cu_out_wkt.c.

127 {
128  CU_ASSERT_STRING_EQUAL(
129  cu_wkt("MULTIPOLYGON(((100 100 2, 100 200 2, 200 200 2, 200 100 2, 100 100 2)))",WKT_ISO),
130  "MULTIPOLYGON Z (((100 100 2,100 200 2,200 200 2,200 100 2,100 100 2)))"
131  );
132  CU_ASSERT_STRING_EQUAL(
133  cu_wkt("MULTIPOLYGON(((100 100 2, 100 200 2, 200 200 2, 200 100 2, 100 100 2)))",WKT_EXTENDED),
134  "MULTIPOLYGON(((100 100 2,100 200 2,200 200 2,200 100 2,100 100 2)))"
135  );
136 }
static char * cu_wkt(char *wkt, uint8_t variant)
Definition: cu_out_wkt.c:46
#define WKT_EXTENDED
Definition: liblwgeom.h:2077
#define WKT_ISO
Definition: liblwgeom.h:2075

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: