aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@mines-paris.org>2019-04-01 15:23:46 +0200
committerGitHub <noreply@github.com>2019-04-01 15:23:46 +0200
commit0fcfcd20688dbadf01df83fdeaa038346f45c163 (patch)
tree2f451eec1a941483d85ccac2071eecd8604be041 /test
parenta4eb9f255d3f08985fc9360660202e3b00cad958 (diff)
parentff1e495525969352f83507950dd4e1fd3cec69c2 (diff)
downloadPROJ-0fcfcd20688dbadf01df83fdeaa038346f45c163.tar.gz
PROJ-0fcfcd20688dbadf01df83fdeaa038346f45c163.zip
Merge pull request #1396 from rouault/ossfuzz_13947_13948
Ossfuzz 13947 13948
Diffstat (limited to 'test')
-rw-r--r--test/gie/builtins.gie8
-rw-r--r--test/gie/unitconvert.gie24
2 files changed, 30 insertions, 2 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie
index c8eb3a11..2cc44632 100644
--- a/test/gie/builtins.gie
+++ b/test/gie/builtins.gie
@@ -5243,7 +5243,7 @@ Two Point Equidistant
===============================================================================
-------------------------------------------------------------------------------
-operation +proj=tpeqd +ellps=GRS80 +lat_1=0.5 +lat_2=2 +n=0.5
+operation +proj=tpeqd +ellps=GRS80 +lat_1=0.5 +lat_2=2
-------------------------------------------------------------------------------
tolerance 0.18 mm
accept 2 1
@@ -5266,7 +5266,7 @@ accept -200 -100
expect 0.000898554 1.248203369
-------------------------------------------------------------------------------
-operation +proj=tpeqd +a=6400000 +lat_1=0.5 +lat_2=2 +n=0.5
+operation +proj=tpeqd +a=6400000 +lat_1=0.5 +lat_2=2
-------------------------------------------------------------------------------
tolerance 0.1 mm
accept 2 1
@@ -5288,6 +5288,10 @@ expect -0.000895485 1.248209507
accept -200 -100
expect 0.000895485 1.248209507
+-------------------------------------------------------------------------------
+operation +proj=tpeqd +a=6400000 +lat_1=90 +lat_2=90 +lon_1=0 +lon_2=1
+-------------------------------------------------------------------------------
+expect failure
===============================================================================
Tilted perspective
diff --git a/test/gie/unitconvert.gie b/test/gie/unitconvert.gie
index 2e06fe72..f763959b 100644
--- a/test/gie/unitconvert.gie
+++ b/test/gie/unitconvert.gie
@@ -43,4 +43,28 @@ operation proj=unitconvert z_in=rad z_out=m
accept 1 1 1 1
expect failure
+operation proj=unitconvert xy_in=0
+expect failure
+
+operation proj=unitconvert xy_out=0
+expect failure
+
+operation proj=unitconvert xy_in=1e400
+expect failure
+
+operation proj=unitconvert xy_out=1e400
+expect failure
+
+operation proj=unitconvert z_in=0
+expect failure
+
+operation proj=unitconvert z_out=0
+expect failure
+
+operation proj=unitconvert z_in=1e400
+expect failure
+
+operation proj=unitconvert z_out=1e400
+expect failure
+
</gie>