PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ test_wkt_out_multicurve()

static void test_wkt_out_multicurve ( void  )
static

Definition at line 186 of file cu_out_wkt.c.

187 {
188  CU_ASSERT_STRING_EQUAL(
189  cu_wkt("MULTICURVE((1 2 3 4,4 5 6 7,7 8 9 0),CIRCULARSTRING(1 2 3 4,4 5 6 7,7 8 9 0))",WKT_ISO),
190  "MULTICURVE ZM ((1 2 3 4,4 5 6 7,7 8 9 0),CIRCULARSTRING ZM (1 2 3 4,4 5 6 7,7 8 9 0))"
191  );
192  CU_ASSERT_STRING_EQUAL(
193  cu_wkt("MULTICURVE(COMPOUNDCURVE((1 2 3 4,4 5 6 7,7 8 9 0),CIRCULARSTRING(7 8 9 0,8 9 0 0,1 2 3 4,4 5 6 7,7 8 9 0)),(1 2 3 4,4 5 6 7,7 8 9 0),CIRCULARSTRING(1 2 3 4,4 5 6 7,7 8 9 0))",WKT_ISO),
194  "MULTICURVE ZM (COMPOUNDCURVE ZM ((1 2 3 4,4 5 6 7,7 8 9 0),CIRCULARSTRING ZM (7 8 9 0,8 9 0 0,1 2 3 4,4 5 6 7,7 8 9 0)),(1 2 3 4,4 5 6 7,7 8 9 0),CIRCULARSTRING ZM (1 2 3 4,4 5 6 7,7 8 9 0))"
195  );
196 }
static char * cu_wkt(char *wkt, uint8_t variant)
Definition: cu_out_wkt.c:46
#define WKT_ISO
Definition: liblwgeom.h:2075

References cu_wkt(), 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: