191 char* a =
"LINESTRING (0 0, 1 1)";
192 char* b =
"LINESTRING (1 1, 2 2)";
193 char* c =
"LINESTRING (5 5, 6 6)";
195 char* wkt_inputs[] = {a, b, c};
197 char* expected_outputs_all[] = {
"GEOMETRYCOLLECTION(LINESTRING(0 0, 1 1), LINESTRING(1 1, 2 2), LINESTRING(5 5, 6 6))"};
198 char* expected_outputs_partial[] = {
"GEOMETRYCOLLECTION(LINESTRING(0 0, 1 1), LINESTRING(1 1, 2 2))",
199 "GEOMETRYCOLLECTION(LINESTRING(5 5, 6 6))"
static void perform_cluster_within_distance_test(double tolerance, char **wkt_inputs, uint32_t num_inputs, char **wkt_outputs, uint32_t num_outputs)