PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ test_wkb_in_point()

static void test_wkb_in_point ( void  )
static

Definition at line 105 of file cu_in_wkb.c.

106 {
107  cu_wkb_in("POINT(0 0 0 0)");
108 // printf("old: %s\nnew: %s\n",hex_a, hex_b);
109  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
110 
111  cu_wkb_in("SRID=4;POINTM(1 1 1)");
112  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
113 
114  cu_wkb_in("POINT EMPTY");
115  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
116 
117  cu_wkb_in("SRID=4326;POINT EMPTY");
118  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
119 
120  cu_wkb_in("POINT Z EMPTY");
121  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
122 
123  cu_wkb_in("POINT M EMPTY");
124  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
125 
126  cu_wkb_in("POINT ZM EMPTY");
127  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
128 
129 }
static char * hex_a
Definition: cu_in_wkb.c:23
static void cu_wkb_in(char *wkt)
Definition: cu_in_wkb.c:62
static char * hex_b
Definition: cu_in_wkb.c:24

References cu_wkb_in(), hex_a, and hex_b.

Referenced by wkb_in_suite_setup().

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