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

◆ test_wkb_out_point()

static void test_wkb_out_point ( void  )
static

Definition at line 78 of file cu_out_wkb.c.

79{
80 cu_wkb("POINT(0 0 0 0)");
81 ASSERT_STRING_EQUAL(s,"00C00000010000000000000000000000000000000000000000000000000000000000000000");
82
83 cu_wkb("SRID=4;POINTM(1 1 1)");
84 ASSERT_STRING_EQUAL(s,"0060000001000000043FF00000000000003FF00000000000003FF0000000000000");
85
86 cu_wkb("POINT EMPTY");
88
89 cu_wkb("SRID=4326;POINT EMPTY");
91
92 cu_wkb("POINT Z EMPTY");
94
95 cu_wkb("POINT M EMPTY");
97
98 cu_wkb("POINT ZM EMPTY");
100}
static void cu_wkb(char *wkt)
Definition cu_out_wkb.c:60
static void cu_wkb_empty_point_check(char *hex)
Definition cu_out_wkb.c:68
static char * s
Definition cu_out_wkb.c:23
#define ASSERT_STRING_EQUAL(o, e)

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

Referenced by wkb_out_suite_setup().

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