PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ test_wkb_out_multipoint()

static void test_wkb_out_multipoint ( void  )
static

Definition at line 137 of file cu_out_wkb.c.

References cu_wkb(), and s.

Referenced by wkb_out_suite_setup().

138 {
139  cu_wkb("SRID=4;MULTIPOINT(0 0 0,0 1 0,1 1 0,1 0 0,0 0 0)");
140  CU_ASSERT_STRING_EQUAL(s,"00A000000400000004000000050080000001000000000000000000000000000000000000000000000000008000000100000000000000003FF0000000000000000000000000000000800000013FF00000000000003FF0000000000000000000000000000000800000013FF0000000000000000000000000000000000000000000000080000001000000000000000000000000000000000000000000000000");
141 
142  cu_wkb("MULTIPOINT(0 0 0, 0.26794919243112270647255365849413 1 3)");
143  CU_ASSERT_STRING_EQUAL(s,"008000000400000002008000000100000000000000000000000000000000000000000000000000800000013FD126145E9ECD563FF00000000000004008000000000000");
144 
145  cu_wkb("MULTIPOINT EMPTY");
146  CU_ASSERT_STRING_EQUAL(s,"000000000400000000");
147 }
static void cu_wkb(char *wkt)
Definition: cu_out_wkb.c:61
char * s
Definition: cu_out_wkb.c:23
Here is the call graph for this function:
Here is the caller graph for this function: