diff options
| author | Thomas Knudsen <thokn@sdfe.dk> | 2017-11-12 06:05:22 +0100 |
|---|---|---|
| committer | Thomas Knudsen <thokn@sdfe.dk> | 2017-11-12 06:05:22 +0100 |
| commit | 4498951c4e5169e922b1640cfec7b3fd9e9c47ca (patch) | |
| tree | 47c5f86ac8d2054c2fcd7c337b1c392c5de81afd /src/PJ_oea.c | |
| parent | 98dd8d5b6c0f24b8e2be1a8e77e4dfac72a2dc50 (diff) | |
| download | PROJ-4498951c4e5169e922b1640cfec7b3fd9e9c47ca.tar.gz PROJ-4498951c4e5169e922b1640cfec7b3fd9e9c47ca.zip | |
Remove selftests from projection files starting with n,o,p,q
Diffstat (limited to 'src/PJ_oea.c')
| -rw-r--r-- | src/PJ_oea.c | 44 |
1 files changed, 1 insertions, 43 deletions
diff --git a/src/PJ_oea.c b/src/PJ_oea.c index 800a266e..aeef87c0 100644 --- a/src/PJ_oea.c +++ b/src/PJ_oea.c @@ -83,46 +83,4 @@ PJ *PROJECTION(oea) { } -#ifndef PJ_SELFTEST -int pj_oea_selftest (void) {return 0;} -#else - -int pj_oea_selftest (void) { - double tolerance_lp = 1e-10; - double tolerance_xy = 1e-7; - - char s_args[] = {"+proj=oea +a=6400000 +lat_1=0.5 +lat_2=2 +n=1 +m=2 +theta=3"}; - - LP fwd_in[] = { - { 2, 1}, - { 2,-1}, - {-2, 1}, - {-2,-1} - }; - - XY s_fwd_expect[] = { - { 228926.872097864107, 99870.4884300760023}, - { 217242.584036940476, -123247.885607474513}, - {-217242.584036940476, 123247.885607474556}, - {-228926.872097864078, -99870.4884300760168}, - }; - - XY inv_in[] = { - { 200, 100}, - { 200,-100}, - {-200, 100}, - {-200,-100} - }; - - LP s_inv_expect[] = { - { 0.0017411857167771369, 0.000987726819566195693}, - { 0.00183489288577854998, -0.000800312481495174641}, - {-0.00183489288577854954, 0.000800312481495174966}, - {-0.00174118571677713712, -0.000987726819566195043}, - }; - - 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_oea_selftest (void) {return 10000;} |
