diff options
| author | Thomas Knudsen <thokn@sdfe.dk> | 2017-10-19 19:31:32 +0200 |
|---|---|---|
| committer | Thomas Knudsen <thokn@sdfe.dk> | 2017-10-19 19:31:32 +0200 |
| commit | 60d1592843f894d4967bccc9a22b8521b5ade86d (patch) | |
| tree | ee40c9af9d09cd579f0aa15f33fdcd37ab23d564 /src/PJ_comill.c | |
| parent | 3ef083767eaf975399243246605fddc40cc097f9 (diff) | |
| download | PROJ-60d1592843f894d4967bccc9a22b8521b5ade86d.tar.gz PROJ-60d1592843f894d4967bccc9a22b8521b5ade86d.zip | |
remove internal seftests from projections starting with a 'c' (excluding PJ_cart)
Diffstat (limited to 'src/PJ_comill.c')
| -rw-r--r-- | src/PJ_comill.c | 44 |
1 files changed, 1 insertions, 43 deletions
diff --git a/src/PJ_comill.c b/src/PJ_comill.c index a329c0ac..e1994478 100644 --- a/src/PJ_comill.c +++ b/src/PJ_comill.c @@ -81,46 +81,4 @@ PJ *PROJECTION(comill) { } -#ifndef PJ_SELFTEST -int pj_comill_selftest (void) {return 0;} -#else - -int pj_comill_selftest (void) { - double tolerance_lp = 1e-10; - double tolerance_xy = 1e-7; - - char s_args[] = {"+proj=comill +a=6400000 +lat_1=0.5 +lat_2=2"}; - - LP fwd_in[] = { - { 2, 1}, - { 2,-1}, - {-2, 1}, - {-2,-1} - }; - - XY s_fwd_expect[] = { - {223402.144255274179, 110611.859089458536}, - {223402.144255274179, -110611.859089458536}, - {-223402.144255274179, 110611.859089458536}, - {-223402.144255274179, -110611.859089458536}, - }; - - XY inv_in[] = { - { 200, 100}, - { 200,-100}, - {-200, 100}, - {-200,-100} - }; - - LP s_inv_expect[] = { - {0.00179049310978382265, 0.000904106801510605831}, - {0.00179049310978382265, -0.000904106801510605831}, - {-0.00179049310978382265, 0.000904106801510605831}, - {-0.00179049310978382265, -0.000904106801510605831}, - }; - - return pj_generic_selftest (0, s_args, tolerance_xy, tolerance_lp, 4, 4, fwd_in, 0, s_fwd_expect, inv_in, 0, s_inv_expect); -} - - -#endif +int pj_comill_selftest (void) {return 10000;} |
