]> granicus.if.org Git - postgis/commitdiff
Added test for translate()
authorSandro Santilli <strk@keybit.net>
Fri, 11 Mar 2005 17:47:33 +0000 (17:47 +0000)
committerSandro Santilli <strk@keybit.net>
Fri, 11 Mar 2005 17:47:33 +0000 (17:47 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1530 b70326c6-7e19-0410-871a-916f4a2858ee

regress/regress.sql
regress/regress_expected

index bdef7e3362c4fe16abe5e9c05a644b525017ddf7..fb87bfd7a0707b2ad74a919896935b5c4cdbf454 100644 (file)
@@ -226,3 +226,5 @@ select '133', Z('POINT(1 2)');
 
 select '134', distance('POINT(1 2)', 'POINT(1 2)');
 select '135', distance('POINT(5 0)', 'POINT(10 12)');
+
+select '136', distance('POINT(0 0)', translate('POINT(0 0)', 5, 12, 0));
index 5ebd353c1262614ab0f287981780c96059623d69..81d171f540aa7a9fcc1bc6e3524e80282370ad7a 100644 (file)
@@ -135,3 +135,4 @@ ERROR:  POSTGIS2GEOS conversion failed
 133|0
 134|0
 135|13
+136|13