PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ dbscan_test_3612a()

static void dbscan_test_3612a ( void  )
static

Definition at line 317 of file cu_geos_cluster.c.

318 {
319  struct dbscan_test_info test;
320  char* wkt_inputs[] = { "POINT (1 1)" };
321 
322  test.eps = 0.0;
323  test.min_points = 5;
324  uint32_t expected_ids[] = { rand() };
325  int expected_in_cluster[] = { 0 };
326  test.num_geoms = sizeof(wkt_inputs) / sizeof(char*);
327 
328  test.expected_ids = expected_ids;
329  test.expected_in_cluster = expected_in_cluster;
330  test.wkt_inputs = wkt_inputs;
331  do_dbscan_test(test);
332 }
static void do_dbscan_test(struct dbscan_test_info test)
uint32_t * expected_ids
unsigned int uint32_t
Definition: uthash.h:78

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().

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