How to add a regression test ---------------------------- 1. Write a /regress/.sql file with data and sql queries for testing 2. Write a /regress/_expected file with expected results per query 3. Edit regress/Makefile adding to the TESTS variable. Notes about changes in regression tests introduces with PostGIS 1.1.0 --------------------------------------------------------------------- - Mixed-dimensioned geometries are no longer supported (previous behaviour was to fill Z with a 0 value) [ updated to use new behaviour ] - geometry_same operator (=~) now requires all dimensions equality Previously only x/y were checked - geometry_same operator (=~) now requires geom type equality Previous behaviour: GEOMETRYCOLLECTION(POINT(0 1), POINT(2 3)) =~ MULTIPOINT(0 1,2 3) - numb_sub_geometries does not exist anymore [updated to use numgeometries] - truly_inside does not exist anymore [updated to use within]