aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gie/more_builtins.gie32
1 files changed, 32 insertions, 0 deletions
diff --git a/test/gie/more_builtins.gie b/test/gie/more_builtins.gie
index 96212cba..d3fe64f6 100644
--- a/test/gie/more_builtins.gie
+++ b/test/gie/more_builtins.gie
@@ -557,6 +557,38 @@ expect 0 -90
-------------------------------------------------------------------------------
+
+-------------------------------------------------------------------------------
+Test for PJ_geogoffset
+-------------------------------------------------------------------------------
+-------------------------------------------------------------------------------
+operation +proj=geogoffset
+-------------------------------------------------------------------------------
+direction forward
+tolerance 1mm
+
+accept 10 20
+expect 10 20
+roundtrip 1
+
+-------------------------------------------------------------------------------
+operation +proj=geogoffset +dlon=3600 +dlat=-3600 +dh=3
+-------------------------------------------------------------------------------
+direction forward
+tolerance 1mm
+
+accept 10 20
+expect 11 19
+roundtrip 1
+
+accept 10 20 30
+expect 11 19 33
+roundtrip 1
+
+accept 10 20 30 40
+expect 11 19 33 40
+roundtrip 1
+
-------------------------------------------------------------------------------
run the few gie-builtin tests, which are currently either awkward or impossible
to express in the gie command set