PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ test_twkb_in_point()

static void test_twkb_in_point ( void  )
static

Definition at line 99 of file cu_in_twkb.c.

References cu_twkb_in(), hex_a, and hex_b.

Referenced by twkb_in_suite_setup().

100 {
101  cu_twkb_in("POINT(0 0 0 0)");
102 // printf("old: %s\nnew: %s\n",hex_a, hex_b);
103  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
104 
105  cu_twkb_in("POINT(1 1)");
106  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
107 
108  cu_twkb_in("POINT EMPTY");
109  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
110 }
char * hex_b
Definition: cu_in_twkb.c:24
static void cu_twkb_in(char *wkt)
Definition: cu_in_twkb.c:53
char * hex_a
Definition: cu_in_twkb.c:23
Here is the call graph for this function:
Here is the caller graph for this function: