Changeset 2083

Show
Ignore:
Timestamp:
11/28/05 03:27:40 (6 years ago)
Author:
strk
Message:

Added force_collection test

Location:
trunk/regress
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/regress/regress_expected

    r2079 r2083  
    155155148|LINESTRING(0 0,5 0,10 0) 
    156156149|LINESTRING(-5 -5,0 0,1 1,4 4) 
     157150|SRID=6;GEOMETRYCOLLECTION(POLYGON((0 0,1 0,1 1,0 1,0 0))) 
    157158DROP TABLE 
  • trunk/regress/regress.sql

    r2079 r2083  
    253253select '149', asewkt(linemerge('GEOMETRYCOLLECTION(LINESTRING(0 0, 1 1), LINESTRING(4 4, 1 1), LINESTRING(-5 -5, 0 0))'::geometry)); 
    254254 
     255select '150', asewkt(force_collection(setsrid('POLYGON((0 0, 1 0, 1 1, 0 1, 0 0))'::geometry, 6))); 
     256 
    255257-- Drop test table 
    256258DROP table test;