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

Definition at line 131 of file cu_out_wkb.c.

References cu_wkb(), and s.

Referenced by wkb_out_suite_setup().

132 {
133  cu_wkb("SRID=14;GEOMETRYCOLLECTION(POLYGON((0 0 0,0 1 0,1 1 0,1 0 0,0 0 0)),POINT(1 1 1))");
134  CU_ASSERT_STRING_EQUAL(s,"00A00000070000000E000000020080000003000000010000000500000000000000000000000000000000000000000000000000000000000000003FF000000000000000000000000000003FF00000000000003FF000000000000000000000000000003FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000013FF00000000000003FF00000000000003FF0000000000000");
135 
136  cu_wkb("GEOMETRYCOLLECTION EMPTY");
137  CU_ASSERT_STRING_EQUAL(s,"000000000700000000");
138 }
static void cu_wkb(char *wkt)
Definition: cu_out_wkb.c:61
char * s
Definition: cu_out_wkb.c:24

Here is the call graph for this function:

Here is the caller graph for this function: