PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ empty_inputs_test()

static void empty_inputs_test ( void  )
static

Definition at line 232 of file cu_geos_cluster.c.

References perform_cluster_intersecting_test(), and perform_cluster_within_distance_test().

Referenced by geos_cluster_suite_setup().

233 {
234  char* wkt_inputs[] = { "POLYGON EMPTY", "LINESTRING EMPTY"};
235  char* expected_outputs[] = { "GEOMETRYCOLLECTION( LINESTRING EMPTY )", "GEOMETRYCOLLECTION( POLYGON EMPTY )" };
236 
237  perform_cluster_intersecting_test(wkt_inputs, 2, expected_outputs, 2);
238  perform_cluster_within_distance_test(1, wkt_inputs, 2, expected_outputs, 2);
239 }
static void perform_cluster_within_distance_test(double tolerance, char **wkt_inputs, uint32_t num_inputs, char **wkt_outputs, uint32_t num_outputs)
static void perform_cluster_intersecting_test(char **wkt_inputs, uint32_t num_inputs, char **wkt_outputs, uint32_t num_outputs)
Here is the call graph for this function:
Here is the caller graph for this function: