PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ multipoint_test()

static void multipoint_test ( void  )
static

Definition at line 241 of file cu_geos_cluster.c.

242 {
243  /* See #3433 */
244  char* wkt_inputs_mp[] = { "MULTIPOINT ((0 0), (0 1))", "POINT (0 0)"};
245  char* expected_outputs_mp[] = { "GEOMETRYCOLLECTION(MULTIPOINT ((0 0), (0 1)), POINT (0 0))"};
246 
247  char* wkt_inputs_gc[] = { "GEOMETRYCOLLECTION (POINT (0 0), POINT (0 1))", "POINT (0 0)"};
248  char* expected_outputs_gc[] = { "GEOMETRYCOLLECTION(GEOMETRYCOLLECTION (POINT (0 0), POINT (0 1)), POINT (0 0))"};
249 
250  char* wkt_inputs_pt[] = { "POINT (3 3)", "POINT (3 3)"};
251  char* expected_outputs_pt[] = { "GEOMETRYCOLLECTION(POINT (3 3), POINT (3 3))"};
252 
253  perform_cluster_intersecting_test(wkt_inputs_mp, 2, expected_outputs_mp, 1);
254  perform_cluster_intersecting_test(wkt_inputs_gc, 2, expected_outputs_gc, 1);
255  perform_cluster_intersecting_test(wkt_inputs_pt, 2, expected_outputs_pt, 1);
256 }
static void perform_cluster_intersecting_test(char **wkt_inputs, uint32_t num_inputs, char **wkt_outputs, uint32_t num_outputs)

References perform_cluster_intersecting_test().

Referenced by geos_cluster_suite_setup().

Here is the call graph for this function:
Here is the caller graph for this function: