aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gie/more_builtins.gie18
1 files changed, 17 insertions, 1 deletions
diff --git a/test/gie/more_builtins.gie b/test/gie/more_builtins.gie
index 099934a7..00f584b4 100644
--- a/test/gie/more_builtins.gie
+++ b/test/gie/more_builtins.gie
@@ -115,10 +115,26 @@ expect 691875.63214 6098907.82501 0 0
direction inverse
accept 12 55 0 0
expect 12 55 0 0
+-------------------------------------------------------------------------------
+Test a few inversion scenarios (urm5 has no inverse operation)
+-------------------------------------------------------------------------------
+operation proj=pipeline step
+ proj=urm5 n=0.5 inv
+expect failure pjd_err_malformed_pipeline
+operation proj=pipeline inv step
+ proj=urm5 n=0.5
+expect failure pjd_err_malformed_pipeline
+operation proj=pipeline inv step
+ proj=urm5 n=0.5 inv
+accept 12 56
+expect 1215663.2814182492 5452209.5424045017
-
+operation proj=pipeline step
+ proj=urm5 n=0.5
+accept 12 56
+expect 1215663.2814182492 5452209.5424045017
-------------------------------------------------------------------------------
Some tests from PJ_vgridshift.c