PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ test_wkt_out_multipolygon()

static void test_wkt_out_multipolygon ( void  )
static

Definition at line 135 of file cu_out_wkt.c.

136 {
137  CU_ASSERT_STRING_EQUAL(
138  cu_wkt("MULTIPOLYGON(((100 100 2, 100 200 2, 200 200 2, 200 100 2, 100 100 2)))",WKT_ISO),
139  "MULTIPOLYGON Z (((100 100 2,100 200 2,200 200 2,200 100 2,100 100 2)))"
140  );
141  CU_ASSERT_STRING_EQUAL(
142  cu_wkt("MULTIPOLYGON(((100 100 2, 100 200 2, 200 200 2, 200 100 2, 100 100 2)))",WKT_EXTENDED),
143  "MULTIPOLYGON(((100 100 2,100 200 2,200 200 2,200 100 2,100 100 2)))"
144  );
145 }
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: