PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ test_coll_point()

static void test_coll_point ( void  )
static

Definition at line 39 of file cu_homogenize.c.

References do_geom_test().

Referenced by homogenize_suite_setup().

40 {
41  do_geom_test("GEOMETRYCOLLECTION(POINT(1 2))",
42  "POINT(1 2)");
43 
44  do_geom_test("GEOMETRYCOLLECTION(POINT(1 2),POINT(3 4))",
45  "MULTIPOINT(1 2,3 4)");
46 
47  do_geom_test("GEOMETRYCOLLECTION(POINT(1 2),POINT(3 4),POINT(5 6))",
48  "MULTIPOINT(1 2,3 4,5 6)");
49 
50  do_geom_test("GEOMETRYCOLLECTION(MULTIPOINT(1 2,3 4),POINT(5 6))",
51  "MULTIPOINT(1 2,3 4,5 6)");
52 
53  do_geom_test("GEOMETRYCOLLECTION(POINT(1 2),MULTIPOINT(3 4,5 6))",
54  "MULTIPOINT(1 2,3 4,5 6)");
55 
56  do_geom_test("GEOMETRYCOLLECTION(MULTIPOINT(1 2,3 4),MULTIPOINT(5 6,7 8))",
57  "MULTIPOINT(1 2,3 4,5 6,7 8)");
58 }
static void do_geom_test(char *in, char *out)
Definition: cu_homogenize.c:20
Here is the call graph for this function:
Here is the caller graph for this function: