From 5411bd30010b709a1482fa6a7073168f021dc627 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 21 Jun 2018 23:26:40 +0200 Subject: unitconvert: error out if xy_in/xy_out z_in/z_out use different unit types --- test/gie/unitconvert.gie | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') 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 -- cgit v1.2.3