[postgis-tickets] r14883 - Add additional test to document ST_Polygonize behavior with nulls

Daniel Baston dbaston at gmail.com
Wed May 4 14:48:47 PDT 2016


Author: dbaston
Date: 2016-05-04 14:48:46 -0700 (Wed, 04 May 2016)
New Revision: 14883

Modified:
   trunk/regress/tickets.sql
   trunk/regress/tickets_expected
Log:
Add additional test to document ST_Polygonize behavior with nulls

Modified: trunk/regress/tickets.sql
===================================================================
--- trunk/regress/tickets.sql	2016-05-04 00:56:52 UTC (rev 14882)
+++ trunk/regress/tickets.sql	2016-05-04 21:48:46 UTC (rev 14883)
@@ -964,6 +964,7 @@
 
 -- #3470
 SELECT '#3470', ST_Polygonize(ARRAY[NULL]::geometry[]) IS NULL;
+SELECT '#3470b', ST_Area(ST_Polygonize(ARRAY[NULL, 'LINESTRING (0 0, 10 0, 10 10)', NULL, 'LINESTRING (0 0, 10 10)', NULL]::geometry[]));
 
 -- Clean up
 DELETE FROM spatial_ref_sys;

Modified: trunk/regress/tickets_expected
===================================================================
--- trunk/regress/tickets_expected	2016-05-04 00:56:52 UTC (rev 14882)
+++ trunk/regress/tickets_expected	2016-05-04 21:48:46 UTC (rev 14883)
@@ -293,3 +293,4 @@
 #3437d|5
 #3437e|5
 #3470|t
+#3470b|50



More information about the postgis-tickets mailing list