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

Definition at line 159 of file cu_in_wkb.c.

References cu_wkb_in(), hex_a, and hex_b.

Referenced by wkb_in_suite_setup().

160 {
161  cu_wkb_in("SRID=14;GEOMETRYCOLLECTION(POLYGON((0 0 0,0 1 0,1 1 0,1 0 0,0 0 0)),POINT(1 1 1))");
162  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
163 
164  cu_wkb_in("GEOMETRYCOLLECTION EMPTY");
165  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
166 
167  cu_wkb_in("SRID=14;GEOMETRYCOLLECTION(MULTIPOLYGON(((0 0 0,0 1 0,1 1 0,1 0 0,0 0 0))),POLYGON((0 0 0,0 1 0,1 1 0,1 0 0,0 0 0)),POINT(1 1 1),LINESTRING(0 0 0, 1 1 1))");
168  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
169 
170 }
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: