PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ multipoint_test()

static void multipoint_test ( void  )
static

Definition at line 243 of file cu_geos_cluster.c.

244 {
245  /* See #3433 */
246  char* wkt_inputs_mp[] = { "MULTIPOINT ((0 0), (0 1))", "POINT (0 0)"};
247  char* expected_outputs_mp[] = { "GEOMETRYCOLLECTION(MULTIPOINT ((0 0), (0 1)), POINT (0 0))"};
248 
249  char* wkt_inputs_gc[] = { "GEOMETRYCOLLECTION (POINT (0 0), POINT (0 1))", "POINT (0 0)"};
250  char* expected_outputs_gc[] = { "GEOMETRYCOLLECTION(GEOMETRYCOLLECTION (POINT (0 0), POINT (0 1)), POINT (0 0))"};
251 
252  char* wkt_inputs_pt[] = { "POINT (3 3)", "POINT (3 3)"};
253  char* expected_outputs_pt[] = { "GEOMETRYCOLLECTION(POINT (3 3), POINT (3 3))"};
254 
255  perform_cluster_intersecting_test(wkt_inputs_mp, 2, expected_outputs_mp, 1);
256  perform_cluster_intersecting_test(wkt_inputs_gc, 2, expected_outputs_gc, 1);
257  perform_cluster_intersecting_test(wkt_inputs_pt, 2, expected_outputs_pt, 1);
258 }
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: