aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhilippe Rivière <fil@rezo.net>2018-09-24 13:00:31 +0200
committerPhilippe Rivière <fil@rezo.net>2018-09-24 13:00:31 +0200
commit5f4fa9ccba63ac89e09035688588ced7649ff43f (patch)
treeb9cf4adf3c9cb366fc963bc9c236d8a05440bdf4 /test
parentc9962986f4c39219b614872ef5af9c8c7b8c7503 (diff)
downloadPROJ-5f4fa9ccba63ac89e09035688588ced7649ff43f.tar.gz
PROJ-5f4fa9ccba63ac89e09035688588ced7649ff43f.zip
Req. changes for Bertin1953:
- classification - tests - coding style
Diffstat (limited to 'test')
-rw-r--r--test/gie/more_builtins.gie35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/gie/more_builtins.gie b/test/gie/more_builtins.gie
index 96212cba..c5061962 100644
--- a/test/gie/more_builtins.gie
+++ b/test/gie/more_builtins.gie
@@ -59,6 +59,41 @@ roundtrip 100 1 m
-------------------------------------------------------------------------------
+-------------------------------------------------------------------------------
+Tests for PJ_bertin1953.c
+-------------------------------------------------------------------------------
+operation proj=bertin1953 +R=1
+-------------------------------------------------------------------------------
+accept 0 0
+expect -0.260206554508 -0.685226058142
+
+accept 16.5 42
+expect 0.0 0.0
+
+accept -180 90
+expect 0.0 0.813473286152
+
+accept 0 90
+expect 0.0 0.813473286152
+
+accept 10 -35
+expect -0.138495501548 -1.221408328101
+
+accept -70 -35
+expect -1.504967424950 -0.522846035499
+
+accept 80 7
+expect 0.929377425352 -0.215443296201
+
+accept 128 35
+expect 0.937431733950 0.700084268525
+
+accept 170 -41
+expect 2.162845830414 -0.046534568425
+
+-------------------------------------------------------------------------------
+
+