PostGIS  2.5.7dev-r@@SVN_REVISION@@

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

163 {
168  // 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)";
169  // r = cu_wkt_in(s, WKT_EXTENDED);
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)";
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 
180  s = "MULTIPOINT(0 0,1 1)";
181  r = cu_wkt_in(s, WKT_SFSQL);
182  CU_ASSERT_STRING_EQUAL(r,s);
183  //printf("\nIN: %s\nOUT: %s\n",s,r);
184  lwfree(r);
185 }
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_SFSQL
Definition: liblwgeom.h:2076
void lwfree(void *mem)
Definition: lwutil.c:244

References 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: