aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-03-12 13:38:03 +0100
committerGitHub <noreply@github.com>2018-03-12 13:38:03 +0100
commitd422d4547a1e99ecdedc3bde146ab3c304bc5c6a (patch)
tree3a556f186a77c1fdce10bc972556348fa7964a9b /test
parenta5ee6c5543aa0d81f37adafc0efc7bffec476e5c (diff)
parent22203cc0677f7f60fd81f719125c3c1768e498ac (diff)
downloadPROJ-d422d4547a1e99ecdedc3bde146ab3c304bc5c6a.tar.gz
PROJ-d422d4547a1e99ecdedc3bde146ab3c304bc5c6a.zip
Merge pull request #857 from kbevers/return-error-instead-of-zeros
Make sure that transient errors are returned correctly
Diffstat (limited to 'test')
-rw-r--r--test/gie/4D-API_cs2cs-style.gie16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/gie/4D-API_cs2cs-style.gie b/test/gie/4D-API_cs2cs-style.gie
index 4b0ecb60..0710edde 100644
--- a/test/gie/4D-API_cs2cs-style.gie
+++ b/test/gie/4D-API_cs2cs-style.gie
@@ -187,6 +187,21 @@ accept 7.438632495 46.951082877
expect 2600000.0 1200000.0
-------------------------------------------------------------------------------
+
+-------------------------------------------------------------------------------
+Make sure that transient errors are returned correctly.
+-------------------------------------------------------------------------------
+operation +proj=geos +lon_0=0.00 +lat_0=0.00 +a=6378169.00 +b=6356583.80 +h=35785831.0
+-------------------------------------------------------------------------------
+accept 85.05493299 46.5261074
+expect failure
+
+accept 85.05493299 46.5261074 0
+expect failure
+
+accept 85.05493299 46.5261074 0 0
+expect failure
+
-------------------------------------------------------------------------------
Test that Google's Web Mercator works as intended (see #834 for details).
-------------------------------------------------------------------------------
@@ -200,4 +215,5 @@ accept 487147.594520173 4934316.46263998 0
expect -10370728.80 5552839.74 0
-------------------------------------------------------------------------------
+
</gie>