PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ test_wkt_in_curvpolygon()

static void test_wkt_in_curvpolygon ( void  )
static

Definition at line 277 of file cu_in_wkt.c.

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

Referenced by wkt_in_suite_setup().

278 {
279  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))";
280  r = cu_wkt_in(s, WKT_ISO);
281  CU_ASSERT_STRING_EQUAL(r,s);
282  //printf("\nIN: %s\nOUT: %s\n",s,r);
283  lwfree(r);
284 }
char * r
Definition: cu_in_wkt.c:24
void lwfree(void *mem)
Definition: lwutil.c:244
#define WKT_ISO
Definition: liblwgeom.h:2083
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: