Definition at line 160 of file cu_out_wkb.c.
162 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))");
163 CU_ASSERT_STRING_EQUAL(
s,
"00A00000070000000E000000020080000003000000010000000500000000000000000000000000000000000000000000000000000000000000003FF000000000000000000000000000003FF00000000000003FF000000000000000000000000000003FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000013FF00000000000003FF00000000000003FF0000000000000");
165 cu_wkb(
"GEOMETRYCOLLECTION EMPTY");
166 CU_ASSERT_STRING_EQUAL(
s,
"000000000700000000");
168 cu_wkb(
"GEOMETRYCOLLECTION(LINESTRING EMPTY)");
169 CU_ASSERT_STRING_EQUAL(
s,
"000000000700000001000000000200000000");
171 cu_wkb(
"GEOMETRYCOLLECTION(LINESTRING EMPTY, MULTILINESTRING(EMPTY,EMPTY))");
173 CU_ASSERT_STRING_EQUAL(
s,
"000000000700000002000000000200000000000000000500000002000000000200000000000000000200000000");
static void cu_wkb(char *wkt)
References cu_wkb(), and s.
Referenced by wkb_out_suite_setup().