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

◆ test_wkb_out_multipoint()

static void test_wkb_out_multipoint ( void  )
static

Definition at line 136 of file cu_out_wkb.c.

137{
138 cu_wkb("SRID=4;MULTIPOINT(0 0 0,0 1 0,1 1 0,1 0 0,0 0 0)");
139 ASSERT_STRING_EQUAL(s,"00A000000400000004000000050080000001000000000000000000000000000000000000000000000000008000000100000000000000003FF0000000000000000000000000000000800000013FF00000000000003FF0000000000000000000000000000000800000013FF0000000000000000000000000000000000000000000000080000001000000000000000000000000000000000000000000000000");
140
141 cu_wkb("MULTIPOINT(0 0 0, 0.26794919243112270647255365849413 1 3)");
142 ASSERT_STRING_EQUAL(s,"008000000400000002008000000100000000000000000000000000000000000000000000000000800000013FD126145E9ECD563FF00000000000004008000000000000");
143
144 cu_wkb("MULTIPOINT EMPTY");
145 ASSERT_STRING_EQUAL(s,"000000000400000000");
146}
static void cu_wkb(char *wkt)
Definition cu_out_wkb.c:60
static char * s
Definition cu_out_wkb.c:23
#define ASSERT_STRING_EQUAL(o, e)

References ASSERT_STRING_EQUAL, cu_wkb(), and s.

Referenced by wkb_out_suite_setup().

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