PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ test_wkt_in_compoundcurve()

static void test_wkt_in_compoundcurve ( void  )
static

Definition at line 264 of file cu_in_wkt.c.

265{
266 s = "SRID=4326;COMPOUNDCURVEM(CIRCULARSTRINGM(0 0 2,1 1 2,1 0 2),(1 0 2,0 1 2))";
268 CU_ASSERT_STRING_EQUAL(r,s);
269 //printf("\nIN: %s\nOUT: %s\n",s,r);
270 lwfree(r);
271
272 s = "COMPOUNDCURVE Z (CIRCULARSTRING Z (0 0 0,0 1 0,1 1 0,0 0 0,2 2 0),(2 2 0,0 0 1,1 1 1,2 2 1))";
273 r = cu_wkt_in(s, WKT_ISO);
274 CU_ASSERT_STRING_EQUAL(r,s);
275 //printf("\nIN: %s\nOUT: %s\n",s,r);
276 lwfree(r);
277}
char * s
Definition cu_in_wkt.c:23
char * r
Definition cu_in_wkt.c:24
static char * cu_wkt_in(char *wkt, uint8_t variant)
Definition cu_in_wkt.c:50
#define WKT_EXTENDED
Definition liblwgeom.h:2132
void lwfree(void *mem)
Definition lwutil.c:242
#define WKT_ISO
Definition liblwgeom.h:2130

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

Referenced by wkt_in_suite_setup().

Here is the call graph for this function:
Here is the caller graph for this function: