aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gie/more_builtins.gie20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/gie/more_builtins.gie b/test/gie/more_builtins.gie
index 424f941d..78a504ff 100644
--- a/test/gie/more_builtins.gie
+++ b/test/gie/more_builtins.gie
@@ -854,4 +854,24 @@ accept 0 0 0
expect 0 90 -6356752.314140356
+-------------------------------------------------------------------------------
+# Test handling of endianness of NTv2 grids
+-------------------------------------------------------------------------------
+-------------------------------------------------------------------------------
+operation +proj=hgridshift +grids=tests/test_hgrid_little_endian.gsb
+-------------------------------------------------------------------------------
+tolerance 2 mm
+accept 4.5 52.5 0
+expect 5.875 55.375 0
+-------------------------------------------------------------------------------
+
+-------------------------------------------------------------------------------
+operation +proj=hgridshift +grids=tests/test_hgrid_big_endian.gsb
+-------------------------------------------------------------------------------
+tolerance 2 mm
+accept 4.5 52.5 0
+expect 5.875 55.375 0
+-------------------------------------------------------------------------------
+
+
</gie>