PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ test_wkb_in_polygon()

static void test_wkb_in_polygon ( void  )
static

Definition at line 140 of file cu_in_wkb.c.

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