aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gie/unitconvert.gie11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/gie/unitconvert.gie b/test/gie/unitconvert.gie
index 30d9dc0b..ff6dc96f 100644
--- a/test/gie/unitconvert.gie
+++ b/test/gie/unitconvert.gie
@@ -25,4 +25,15 @@ tolerance 0.1
accept 1 1 1 1
expect 0.5 0.5 1 1
+operation proj=unitconvert xy_in=deg xy_out=rad
+tolerance 0.000000000001
+accept 1 1 1 1
+expect 0.017453292519943296 0.017453292519943296 1 1
+
+operation proj=unitconvert xy_in=grad xy_out=deg
+tolerance 0.000000000001
+accept 50 50 1 1
+expect 45 45 1 1
+
+
</gie>