PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ test_twkb_out_multipoint()

static void test_twkb_out_multipoint ( void  )
static

Definition at line 167 of file cu_out_twkb.c.

References cu_twkb(), and s.

Referenced by twkb_out_suite_setup().

168 {
169  cu_twkb("MULTIPOINT(0 0 0, 0 1 0,1 1 0,1 0 0, 0 0 0)", 0, 0, 0, 0);
170  CU_ASSERT_STRING_EQUAL(s,"04080105000000000200020000000100010000");
171 
172  cu_twkb("MULTIPOINT(0 0 0, 0.26794919243112270647255365849413 1 3)",7 ,7 , 0, 0);
173  //printf("WKB: %s",s);
174  CU_ASSERT_STRING_EQUAL(s,"E4081D02000000888BC70280DAC409808ECE1C");
175 // printf("TWKB: %s\n",s);
176 }
char * s
Definition: cu_out_twkb.c:24
static void cu_twkb(char *wkt, int8_t prec_xy, int8_t prec_z, int8_t prec_m, uint8_t variant)
Definition: cu_out_twkb.c:55
Here is the call graph for this function:
Here is the caller graph for this function: