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

◆ test_wkt_in_multipoint()

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 178 of file cu_in_wkt.c.

179{
184 // 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)";
185 // r = cu_wkt_in(s, WKT_EXTENDED);
186 // ASSERT_STRING_EQUAL(r,s);
187 // printf("\nIN: %s\nOUT: %s\n",s,r);
188 // lwfree(r);
189
190 s = "MULTIPOINT(0 0)";
193 //printf("\nIN: %s\nOUT: %s\n",s,r);
194 lwfree(r);
195
196 s = "MULTIPOINT(0 0,1 1)";
199 //printf("\nIN: %s\nOUT: %s\n",s,r);
200 lwfree(r);
201}
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 ASSERT_STRING_EQUAL(o, e)
#define WKT_SFSQL
Definition liblwgeom.h:2220
void lwfree(void *mem)
Definition lwutil.c:248

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

Referenced by wkt_in_suite_setup().

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