PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ test_wkt_out_circularstring()

static void test_wkt_out_circularstring ( void  )
static

Definition at line 157 of file cu_out_wkt.c.

References cu_wkt(), WKT_EXTENDED, and WKT_ISO.

Referenced by wkt_out_suite_setup().

158 {
159  CU_ASSERT_STRING_EQUAL(
160  cu_wkt("CIRCULARSTRING(1 2 3 4,4 5 6 7,7 8 9 0)",WKT_ISO),
161  "CIRCULARSTRING ZM (1 2 3 4,4 5 6 7,7 8 9 0)"
162  );
163  CU_ASSERT_STRING_EQUAL(
164  cu_wkt("CIRCULARSTRING(1 2 3 4,4 5 6 7,7 8 9 0)",WKT_EXTENDED),
165  "CIRCULARSTRING(1 2 3 4,4 5 6 7,7 8 9 0)"
166  );
167  //printf("%s\n",cu_wkt("GEOMETRYCOLLECTION(MULTIPOLYGON(((100 100 2, 100 200 2, 200 200 2, 200 100 2, 100 100 2))),MULTIPOINT(.5 .5 .5,1 1 1),CURVEPOLYGON((.8 .8 .8,.8 .8 .8,.8 .8 .8)))",WKT_ISO));
168 }
#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: