PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ test_wkb_out_point()

static void test_wkb_out_point ( void  )
static

Definition at line 79 of file cu_out_wkb.c.

References cu_wkb(), cu_wkb_empty_point_check(), and s.

Referenced by wkb_out_suite_setup().

80 {
81  cu_wkb("POINT(0 0 0 0)");
82  CU_ASSERT_STRING_EQUAL(s,"00C00000010000000000000000000000000000000000000000000000000000000000000000");
83 
84  cu_wkb("SRID=4;POINTM(1 1 1)");
85  CU_ASSERT_STRING_EQUAL(s,"0060000001000000043FF00000000000003FF00000000000003FF0000000000000");
86 
87  cu_wkb("POINT EMPTY");
89 
90  cu_wkb("SRID=4326;POINT EMPTY");
92 
93  cu_wkb("POINT Z EMPTY");
95 
96  cu_wkb("POINT M EMPTY");
98 
99  cu_wkb("POINT ZM EMPTY");
101 }
static void cu_wkb_empty_point_check(char *hex)
Definition: cu_out_wkb.c:69
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: