PostGIS  2.5.0dev-r@@SVN_REVISION@@
static void test_wkt_in_curvpolygon ( void  )
static

Definition at line 272 of file cu_in_wkt.c.

References cu_wkt_in(), lwfree(), r, s, and WKT_ISO.

Referenced by wkt_in_suite_setup().

273 {
274  s = "CURVEPOLYGON(COMPOUNDCURVE(CIRCULARSTRING(0 0,0 1,1 1,2 2,0 0),(0 0,1 1,2 2)),CIRCULARSTRING(0 0,0 1,1 1,0 0,2 2),(0 0,1 1,2 1))";
275  r = cu_wkt_in(s, WKT_ISO);
276  CU_ASSERT_STRING_EQUAL(r,s);
277  //printf("\nIN: %s\nOUT: %s\n",s,r);
278  lwfree(r);
279 }
char * r
Definition: cu_in_wkt.c:24
void lwfree(void *mem)
Definition: lwutil.c:244
#define WKT_ISO
Definition: liblwgeom.h:2068
char * s
Definition: cu_in_wkt.c:23
static char * cu_wkt_in(char *wkt, uint8_t variant)
Definition: cu_in_wkt.c:50

Here is the call graph for this function:

Here is the caller graph for this function: