From: Sandro Santilli Date: Wed, 6 Mar 2013 18:37:50 +0000 (+0000) Subject: Improve the test for #1968 to also check duplicated components X-Git-Tag: 2.1.0beta2~180 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aab9bec5a78dec2e762dab4624b56923442e6982;p=postgis Improve the test for #1968 to also check duplicated components git-svn-id: http://svn.osgeo.org/postgis/trunk@11155 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/topology/test/regress/totopogeom.sql b/topology/test/regress/totopogeom.sql index 29ae7ccba..a2e6443e2 100644 --- a/topology/test/regress/totopogeom.sql +++ b/topology/test/regress/totopogeom.sql @@ -170,7 +170,7 @@ select '#1790.3', ST_HausdorffDistance(inp.g, tg.g::geometry), ST_HausdorffDista -- http://trac.osgeo.org/postgis/ticket/1968 with inp as ( select -'MULTILINESTRING ((0 0, 10 0),(5 0, 5 5))' +'MULTILINESTRING ((0 0, 10 0),(5 0, 5 5),(0 0, 5 0),(5 0, 10 0))' ::geometry as g ), tg as ( select totopogeom(g, 'tt', 3) as g from inp ) SELECT '#1968', ST_HausdorffDistance(inp.g, tg.g::geometry) FROM inp, tg;