PostGIS  2.2.7dev-r@@SVN_REVISION@@
static void test_wkt_in_multipoint ( void  )
static

I'm remarking this out since it fails on windows because windows returns MULTIPOINT(-1 -2 -3,5.4 6.6 7.77,-5.4 -6.6 -7.77,1000000 1e-006 -1000000,-1.3e-006 -1.4e-005 0)

Todo:
TODO: Paul put back in if you care after you do replace mumbo jumbo to replace the extra 0s in Windows

Definition at line 157 of file cu_in_wkt.c.

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

Referenced by wkt_in_suite_setup().

158 {
163  // s = "MULTIPOINT(-1 -2 -3,5.4 6.6 7.77,-5.4 -6.6 -7.77,1000000 1e-06 -1000000,-1.3e-06 -1.4e-05 0)";
164  // r = cu_wkt_in(s, WKT_EXTENDED);
165  // CU_ASSERT_STRING_EQUAL(r,s);
166  // printf("\nIN: %s\nOUT: %s\n",s,r);
167  // lwfree(r);
168 
169  s = "MULTIPOINT(0 0)";
170  r = cu_wkt_in(s, WKT_SFSQL);
171  CU_ASSERT_STRING_EQUAL(r,s);
172  //printf("\nIN: %s\nOUT: %s\n",s,r);
173  lwfree(r);
174 
175  s = "MULTIPOINT(0 0,1 1)";
176  r = cu_wkt_in(s, WKT_SFSQL);
177  CU_ASSERT_STRING_EQUAL(r,s);
178  //printf("\nIN: %s\nOUT: %s\n",s,r);
179  lwfree(r);
180 }
char * r
Definition: cu_in_wkt.c:24
void lwfree(void *mem)
Definition: lwutil.c:214
char * s
Definition: cu_in_wkt.c:23
#define WKT_SFSQL
Definition: liblwgeom.h:1940
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: