Definition at line 92 of file cu_out_twkb.c.
95 cu_twkb(
"POINT EMPTY", 0, 0, 0, 0);
96 CU_ASSERT_STRING_EQUAL(
s,
"0110");
98 cu_twkb(
"POINT(0 0)", 0, 0, 0, 0);
99 CU_ASSERT_STRING_EQUAL(
s,
"01000000");
101 cu_twkb(
"POINT(0 0 0 0)", 0, 0, 0, 0);
102 CU_ASSERT_STRING_EQUAL(
s,
"01080300000000");
106 CU_ASSERT_STRING_EQUAL(
s,
"0101000000000000");
111 CU_ASSERT_STRING_EQUAL(
s,
"0102020000");
115 CU_ASSERT_STRING_EQUAL(
s,
"010A0203000000");
119 CU_ASSERT_STRING_EQUAL(
s,
"010A030400000000");
122 cu_twkb(
"POINTZ(1 1 1)", 0,1,2, 0);
123 CU_ASSERT_STRING_EQUAL(
s,
"010845020214");
126 cu_twkb(
"POINTM(1 1 1)", 0,1,2, 0);
128 CU_ASSERT_STRING_EQUAL(
s,
"0108460202C801");
static void cu_twkb(char *wkt, int8_t prec_xy, int8_t prec_z, int8_t prec_m, uint8_t variant)
References cu_twkb(), s, TWKB_BBOX, and TWKB_SIZE.
Referenced by twkb_out_suite_setup().