PostGIS  2.1.10dev-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 156 of file cu_in_wkt.c.

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

Referenced by wkt_in_suite_setup().

157 {
162  // 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)";
163  // r = cu_wkt_in(s, WKT_EXTENDED);
164  // CU_ASSERT_STRING_EQUAL(r,s);
165  // printf("\nIN: %s\nOUT: %s\n",s,r);
166  // lwfree(r);
167 
168  s = "MULTIPOINT(0 0)";
169  r = cu_wkt_in(s, WKT_SFSQL);
170  CU_ASSERT_STRING_EQUAL(r,s);
171  //printf("\nIN: %s\nOUT: %s\n",s,r);
172  lwfree(r);
173 
174  s = "MULTIPOINT(0 0,1 1)";
175  r = cu_wkt_in(s, WKT_SFSQL);
176  CU_ASSERT_STRING_EQUAL(r,s);
177  //printf("\nIN: %s\nOUT: %s\n",s,r);
178  lwfree(r);
179 }
char * r
Definition: cu_in_wkt.c:25
void lwfree(void *mem)
Definition: lwutil.c:190
char * s
Definition: cu_in_wkt.c:24
#define WKT_SFSQL
Definition: liblwgeom.h:1777
static char * cu_wkt_in(char *wkt, uint8_t variant)
Definition: cu_in_wkt.c:51

Here is the call graph for this function:

Here is the caller graph for this function: