Definition at line 131 of file cu_out_twkb.c.
References cu_twkb(), s, and TWKB_BBOX.
Referenced by twkb_out_suite_setup().
134 cu_twkb(
"LINESTRING(0 0,1 1)", 0, 0, 0, 0);
135 CU_ASSERT_STRING_EQUAL(
s,
"02000200000202");
138 cu_twkb(
"LINESTRING(0 0 1,1 1 2,2 2 3)", 0, 0, 0, 0);
139 CU_ASSERT_STRING_EQUAL(
s,
"02080103000002020202020202");
144 CU_ASSERT_STRING_EQUAL(
s,
"02010004000403000002020202");
147 cu_twkb(
"LINESTRING EMPTY", 0, 0, 0, 0);
148 CU_ASSERT_STRING_EQUAL(
s,
"0210");
static void cu_twkb(char *wkt, int8_t prec_xy, int8_t prec_z, int8_t prec_m, uint8_t variant)