PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ test_wkt_in_multilinestring()

static void test_wkt_in_multilinestring ( void  )
static

Definition at line 182 of file cu_in_wkt.c.

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

Referenced by wkt_in_suite_setup().

183 {
184  s = "MULTILINESTRING((0 0,1 1),(1 1,2 2),(3 3,3 3,3 3,2 2,2 1))";
185  r = cu_wkt_in(s, WKT_SFSQL);
186  CU_ASSERT_STRING_EQUAL(r,s);
187  //printf("\nIN: %s\nOUT: %s\n",s,r);
188  lwfree(r);
189 
190 }
char * r
Definition: cu_in_wkt.c:24
void lwfree(void *mem)
Definition: lwutil.c:244
char * s
Definition: cu_in_wkt.c:23
#define WKT_SFSQL
Definition: liblwgeom.h:2075
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: