PostGIS  3.0.6dev-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 164 of file cu_in_wkt.c.

165 {
170  // 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)";
171  // r = cu_wkt_in(s, WKT_EXTENDED);
172  // CU_ASSERT_STRING_EQUAL(r,s);
173  // printf("\nIN: %s\nOUT: %s\n",s,r);
174  // lwfree(r);
175 
176  s = "MULTIPOINT(0 0)";
177  r = cu_wkt_in(s, WKT_SFSQL);
178  CU_ASSERT_STRING_EQUAL(r,s);
179  //printf("\nIN: %s\nOUT: %s\n",s,r);
180  lwfree(r);
181 
182  s = "MULTIPOINT(0 0,1 1)";
183  r = cu_wkt_in(s, WKT_SFSQL);
184  CU_ASSERT_STRING_EQUAL(r,s);
185  //printf("\nIN: %s\nOUT: %s\n",s,r);
186  lwfree(r);
187 }
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:2131
void lwfree(void *mem)
Definition: lwutil.c:242

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: