Definition at line 152 of file cu_out_twkb.c.
154 cu_twkb(
"SRID=4;POLYGON((0 0 0, 0 1 0,1 1 0,1 0 0, 0 0 0))", 0, 0, 0, 0);
155 CU_ASSERT_STRING_EQUAL(
s,
"0308010105000000000200020000000100010000");
158 cu_twkb(
"SRID=14;POLYGON((0 0 0 1, 0 1 0 2,1 1 0 3,1 0 0 4, 0 0 0 5))", 0, 0, 0, 0);
159 CU_ASSERT_STRING_EQUAL(
s,
"03080301050000000200020002020000020001000201000002");
162 cu_twkb(
"POLYGON EMPTY", 0, 0, 0, 0);
163 CU_ASSERT_STRING_EQUAL(
s,
"0310");
static void cu_twkb(char *wkt, int8_t prec_xy, int8_t prec_z, int8_t prec_m, uint8_t variant)
References cu_twkb(), and s.
Referenced by twkb_out_suite_setup().