PostGIS  2.5.0beta1dev-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.

References cu_wkt(), WKT_EXTENDED, and WKT_ISO.

Referenced by wkt_out_suite_setup().

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 }
#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: