diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-06-21 23:26:40 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-06-21 23:41:07 +0200 |
| commit | 5411bd30010b709a1482fa6a7073168f021dc627 (patch) | |
| tree | 1073c02abb4040011903d66f88b7eabdf57a2b0f /test | |
| parent | 4e36fd85b9bd9f80c83d7f262c5a8fb3ae44cde2 (diff) | |
| download | PROJ-5411bd30010b709a1482fa6a7073168f021dc627.tar.gz PROJ-5411bd30010b709a1482fa6a7073168f021dc627.zip | |
unitconvert: error out if xy_in/xy_out z_in/z_out use different unit types
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/unitconvert.gie | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/gie/unitconvert.gie b/test/gie/unitconvert.gie index ff6dc96f..7bbea49d 100644 --- a/test/gie/unitconvert.gie +++ b/test/gie/unitconvert.gie @@ -35,5 +35,12 @@ tolerance 0.000000000001 accept 50 50 1 1 expect 45 45 1 1 +operation proj=unitconvert xy_in=m xy_out=rad +accept 1 1 1 1 +expect failure + +operation proj=unitconvert z_in=rad z_out=m +accept 1 1 1 1 +expect failure </gie> |
