PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ test_twkb_in_polygon()

static void test_twkb_in_polygon ( void  )
static

Definition at line 124 of file cu_in_twkb.c.

125 {
126  cu_twkb_in("POLYGON((0 0 0,0 1 0,1 1 0,1 0 0,0 0 0))");
127  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
128 
129  cu_twkb_in("POLYGON((0 0 0 1,0 1 0 2,1 1 0 3,1 0 0 4,0 0 0 5))");
130  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
131 
132  cu_twkb_in("POLYGON((0 0 0 1,0 1 0 2,1 1 0 3,1 0 0 4,0 0 0 5))");
133  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
134 
135  cu_twkb_in("POLYGON EMPTY");
136  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
137 }
static char * hex_a
Definition: cu_in_twkb.c:23
static void cu_twkb_in(char *wkt)
Definition: cu_in_twkb.c:53
static char * hex_b
Definition: cu_in_twkb.c:24

References cu_twkb_in(), hex_a, and hex_b.

Referenced by twkb_in_suite_setup().

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