PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void test_wkb_in_polygon ( void  )
static

Definition at line 126 of file cu_in_wkb.c.

References cu_wkb_in(), hex_a, and hex_b.

Referenced by wkb_in_suite_setup().

127 {
128  cu_wkb_in("SRID=4;POLYGON((0 0 0,0 1 0,1 1 0,1 0 0,0 0 0))");
129  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
130 
131  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))");
132  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
133 
134  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))");
135  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
136 
137  cu_wkb_in("POLYGON EMPTY");
138  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
139 }
char * hex_a
Definition: cu_in_wkb.c:24
static void cu_wkb_in(char *wkt)
Definition: cu_in_wkb.c:63
char * hex_b
Definition: cu_in_wkb.c:25

Here is the call graph for this function:

Here is the caller graph for this function: