PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ dbscan_test_3612b()

static void dbscan_test_3612b ( void  )
static

Definition at line 334 of file cu_geos_cluster.c.

References do_dbscan_test(), dbscan_test_info::eps, dbscan_test_info::expected_ids, dbscan_test_info::expected_in_cluster, dbscan_test_info::min_points, dbscan_test_info::num_geoms, and dbscan_test_info::wkt_inputs.

Referenced by geos_cluster_suite_setup().

335 {
336  struct dbscan_test_info test;
337  char* wkt_inputs[] = { "POINT (1 1)" };
338 
339  test.eps = 0.0;
340  test.min_points = 1;
341  uint32_t expected_ids[] = { 0 };
342  int expected_in_cluster[] = { 1 };
343  test.num_geoms = sizeof(wkt_inputs) / sizeof(char*);
344 
345  test.expected_ids = expected_ids;
346  test.expected_in_cluster = expected_in_cluster;
347  test.wkt_inputs = wkt_inputs;
348  do_dbscan_test(test);
349 }
static void do_dbscan_test(struct dbscan_test_info test)
unsigned int uint32_t
Definition: uthash.h:78
uint32_t * expected_ids
Here is the call graph for this function:
Here is the caller graph for this function: