Definition at line 200 of file cu_out_twkb.c.
References cu_twkb_idlist(), s, TWKB_BBOX, twkb_out_suite_setup(), TWKB_SIZE, and w.
Referenced by twkb_out_suite_setup().
209 CU_ASSERT_STRING_EQUAL(
s,
"040402040802020101");
210 CU_ASSERT_STRING_EQUAL(
w,
"MULTIPOINT(1 1,0 0)");
225 CU_ASSERT_STRING_EQUAL(
s,
"04060702040802020101");
226 CU_ASSERT_STRING_EQUAL(
w,
"MULTIPOINT(1 1,0 0)");
242 CU_ASSERT_STRING_EQUAL(
s,
"04070B0002000202040802020101");
243 CU_ASSERT_STRING_EQUAL(
w,
"MULTIPOINT(1 1,0 0)");
254 cu_twkb_idlist(
"GEOMETRYCOLLECTION(POINT(1 1),POINT(0 0))",idlist, 0, 0, 0, 0);
256 CU_ASSERT_STRING_EQUAL(
s,
"07040204080100020201000000");
257 CU_ASSERT_STRING_EQUAL(
w,
"GEOMETRYCOLLECTION(POINT(1 1),POINT(0 0))");
271 CU_ASSERT_STRING_EQUAL(
s,
"07060D02040801020202020102020000");
272 CU_ASSERT_STRING_EQUAL(
w,
"GEOMETRYCOLLECTION(POINT(1 1),POINT(0 0))");
static void cu_twkb_idlist(char *wkt, int64_t *idlist, int8_t prec_xy, int8_t prec_z, int8_t prec_m, uint8_t variant)