PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ test_wkb_in_polygon()

static void test_wkb_in_polygon ( void  )
static

Definition at line 139 of file cu_in_wkb.c.

140 {
141  cu_wkb_in("SRID=4;POLYGON((0 0 0,0 1 0,1 1 0,1 0 0,0 0 0))");
142  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
143 
144  cu_wkb_in("SRID=14;POLYGON((0 0 0 1,0 1 0 2,1 1 0 3,1 0 0 4,0 0 0 5))");
145  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
146 
147  cu_wkb_in("SRID=4;POLYGON((0 0 0 1,0 1 0 2,1 1 0 3,1 0 0 4,0 0 0 5))");
148  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
149 
150  cu_wkb_in("POLYGON EMPTY");
151  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
152 }
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: