diff options
| author | Thomas Knudsen <thokn@sdfe.dk> | 2017-10-12 20:58:47 +0200 |
|---|---|---|
| committer | Thomas Knudsen <thokn@sdfe.dk> | 2017-10-12 20:58:47 +0200 |
| commit | b6e37b99b1f7d07de691f428e8d04dbd5f8b3caa (patch) | |
| tree | 03a5d254971e3d7858a628152f0fa5b1735f093f /src/PJ_aeqd.c | |
| parent | de5059b4efb088f5b88ef73878bda3fc8b6609d0 (diff) | |
| download | PROJ-b6e37b99b1f7d07de691f428e8d04dbd5f8b3caa.tar.gz PROJ-b6e37b99b1f7d07de691f428e8d04dbd5f8b3caa.zip | |
Remove first batch of internal self tests, now moved to builtins.gie:
All projections starting with "a". Replace with stubs returning 10000.
The two PJ_apply_?gridhift.c files have not been touched
Diffstat (limited to 'src/PJ_aeqd.c')
| -rw-r--r-- | src/PJ_aeqd.c | 59 |
1 files changed, 1 insertions, 58 deletions
diff --git a/src/PJ_aeqd.c b/src/PJ_aeqd.c index c6fa9e06..f0c813f5 100644 --- a/src/PJ_aeqd.c +++ b/src/PJ_aeqd.c @@ -318,61 +318,4 @@ PJ *PROJECTION(aeqd) { } -#ifndef PJ_SELFTEST -int pj_aeqd_selftest (void) {return 0;} -#else - -int pj_aeqd_selftest (void) { - double tolerance_lp = 1e-10; - double tolerance_xy = 1e-7; - - char e_args[] = {"+proj=aeqd +ellps=GRS80 +lat_1=0.5 +lat_2=2"}; - char s_args[] = {"+proj=aeqd +R=6400000 +lat_1=0.5 +lat_2=2"}; - - LP fwd_in[] = { - { 2, 1}, - { 2,-1}, - {-2, 1}, - {-2,-1} - }; - - XY e_fwd_expect[] = { - { 222616.522190051648, 110596.996549550197}, - { 222616.522190051648, -110596.996549550211}, - {-222616.522190051648, 110596.996549550197}, - {-222616.522190051648, -110596.996549550211}, - }; - - XY s_fwd_expect[] = { - { 223379.456047271, 111723.757570854126}, - { 223379.456047271, -111723.757570854126}, - {-223379.456047271, 111723.757570854126}, - {-223379.456047271, -111723.757570854126}, - }; - - XY inv_in[] = { - { 200, 100}, - { 200,-100}, - {-200, 100}, - {-200,-100} - }; - - LP e_inv_expect[] = { - { 0.00179663056838724787, 0.000904369476930248902}, - { 0.00179663056838724787, -0.000904369476930248469}, - {-0.00179663056838724787, 0.000904369476930248902}, - {-0.00179663056838724787, -0.000904369476930248469}, - }; - - LP s_inv_expect[] = { - { 0.00179049310992953335, 0.000895246554746200623}, - { 0.00179049310992953335, -0.000895246554746200623}, - {-0.00179049310992953335, 0.000895246554746200623}, - {-0.00179049310992953335, -0.000895246554746200623}, - }; - - return pj_generic_selftest (e_args, s_args, tolerance_xy, tolerance_lp, 4, 4, fwd_in, e_fwd_expect, s_fwd_expect, inv_in, e_inv_expect, s_inv_expect); -} - - -#endif +int pj_aeqd_selftest (void) {return 10000;} |
