PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ test_wkb_in_collection()

static void test_wkb_in_collection ( void  )
static

Definition at line 172 of file cu_in_wkb.c.

173 {
174  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))");
175  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
176 
177  cu_wkb_in("GEOMETRYCOLLECTION EMPTY");
178  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
179 
180  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))");
181  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
182 
183 }
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: