Definition at line 186 of file cu_out_twkb.c.
References cu_twkb(), and s.
Referenced by twkb_out_suite_setup().
188 cu_twkb(
"GEOMETRYCOLLECTION(LINESTRING(1 1, 2 2), LINESTRING(3 3, 4 4), LINESTRING(5 5, 6 6))", 0, 0, 0, 0);
190 CU_ASSERT_STRING_EQUAL(
s,
"07000302000202020202020002060602020200020A0A0202");
192 cu_twkb(
"GEOMETRYCOLLECTION(POLYGON((0 0 0, 0 1 0,1 1 0,1 0 0, 0 0 0)),POINT(1 1 1))", 0, 0, 0, 0);
194 CU_ASSERT_STRING_EQUAL(
s,
"070801020308010105000000000200020000000100010000010801020202");
196 cu_twkb(
"GEOMETRYCOLLECTION EMPTY", 0, 0, 0, 0);
197 CU_ASSERT_STRING_EQUAL(
s,
"0710");
static void cu_twkb(char *wkt, int8_t prec_xy, int8_t prec_z, int8_t prec_m, uint8_t variant)