PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ test_wkb_in_collection()

static void test_wkb_in_collection ( void  )
static

Definition at line 173 of file cu_in_wkb.c.

References cu_wkb_in(), hex_a, and hex_b.

Referenced by wkb_in_suite_setup().

174 {
175  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))");
176  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
177 
178  cu_wkb_in("GEOMETRYCOLLECTION EMPTY");
179  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
180 
181  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))");
182  CU_ASSERT_STRING_EQUAL(hex_a, hex_b);
183 
184 }
char * hex_a
Definition: cu_in_wkb.c:23
static void cu_wkb_in(char *wkt)
Definition: cu_in_wkb.c:62
char * hex_b
Definition: cu_in_wkb.c:24
Here is the call graph for this function:
Here is the caller graph for this function: