aboutsummaryrefslogtreecommitdiff
path: root/test/gie/4D-API_cs2cs-style.gie
diff options
context:
space:
mode:
Diffstat (limited to 'test/gie/4D-API_cs2cs-style.gie')
-rw-r--r--test/gie/4D-API_cs2cs-style.gie22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/gie/4D-API_cs2cs-style.gie b/test/gie/4D-API_cs2cs-style.gie
index 3d3bf207..bbd9ee39 100644
--- a/test/gie/4D-API_cs2cs-style.gie
+++ b/test/gie/4D-API_cs2cs-style.gie
@@ -243,4 +243,26 @@ accept 440720 3751320 0
expect 440719.958709357 3751294.2109841 -4.44340920541435
-------------------------------------------------------------------------------
+-------------------------------------------------------------------------------
+Test that pipelines with unit mismatch between steps can't be constructed.
+-------------------------------------------------------------------------------
+operation +proj=pipeline
+ +step +proj=merc
+ +step +proj=merc
+expect failure pjd_err_malformed_pipeline
+
+operation +proj=pipeline
+ +step +proj=latlong
+ +step +proj=merc
+ +step +proj=helmert +x=200 +y=100
+expect failure pjd_err_malformed_pipeline
+
+operation +proj=pipeline
+ +step +proj=merc
+ +step +proj=unitconvert +xy_in=m +xy_out=km
+accept 12 56
+expect 1335.8339 7522.963
+-------------------------------------------------------------------------------
+
+
</gie>