diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-05-06 07:10:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-06 07:10:56 +0200 |
| commit | f642aadbbcd816a7ae3173ea954c5d5562a11ba4 (patch) | |
| tree | d5a653a6a306ad4c7fc7bc1586c20fac6d48f627 /test | |
| parent | c5346c7c25ca9fe281df39eaeefebc1aa4009266 (diff) | |
| parent | 96af6dbf69dd38421916438702be80f73276d879 (diff) | |
| download | PROJ-f642aadbbcd816a7ae3173ea954c5d5562a11ba4.tar.gz PROJ-f642aadbbcd816a7ae3173ea954c5d5562a11ba4.zip | |
geos: avoid division by zero (#1451)
geos: avoid division by zero
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/builtins.gie | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie index ba9fc0aa..df19efb6 100644 --- a/test/gie/builtins.gie +++ b/test/gie/builtins.gie @@ -1624,6 +1624,17 @@ expect -0.001790493 0.000895247 accept -200 -100 expect -0.001790493 -0.000895247 +------------------------------------------------------------------------------- +operation +proj=geos +R=1 +h=0 +------------------------------------------------------------------------------- +expect failure errno invalid_h + +------------------------------------------------------------------------------- +operation +proj=geos +R=1 +h=1e11 +------------------------------------------------------------------------------- +expect failure errno invalid_h + + =============================================================================== Ginsburg VIII (TsNIIGAiK) @@ -3729,7 +3740,12 @@ roundtrip 100 ------------------------------------------------------------------------------- operation +proj=nsper +R=1 +h=0 ------------------------------------------------------------------------------- -expect failure errno h_less_than_zero +expect failure errno invalid_h + +------------------------------------------------------------------------------- +operation +proj=nsper +R=1 +h=1e11 +------------------------------------------------------------------------------- +expect failure errno invalid_h =============================================================================== |
