aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_fouc_s.c
diff options
context:
space:
mode:
authorThomas Knudsen <thokn@sdfe.dk>2017-10-25 20:46:56 +0200
committerThomas Knudsen <thokn@sdfe.dk>2017-10-25 20:46:56 +0200
commit076247ec39e8ad1ce9554744b8c65b26f43b2017 (patch)
tree348c698742b2709e3df11f7ddfb859ba4473526a /src/PJ_fouc_s.c
parenta15c64a4f82a9996ee2d6a21de902f6bc80dc4ac (diff)
downloadPROJ-076247ec39e8ad1ce9554744b8c65b26f43b2017.tar.gz
PROJ-076247ec39e8ad1ce9554744b8c65b26f43b2017.zip
Remove superfluous internal selftests from projection files matching patterns PJ_f....c and PJ_e....c
Diffstat (limited to 'src/PJ_fouc_s.c')
-rw-r--r--src/PJ_fouc_s.c44
1 files changed, 1 insertions, 43 deletions
diff --git a/src/PJ_fouc_s.c b/src/PJ_fouc_s.c
index 343e5878..c581e690 100644
--- a/src/PJ_fouc_s.c
+++ b/src/PJ_fouc_s.c
@@ -67,46 +67,4 @@ PJ *PROJECTION(fouc_s) {
}
-#ifndef PJ_SELFTEST
-int pj_fouc_s_selftest (void) {return 0;}
-#else
-
-int pj_fouc_s_selftest (void) {
- double tolerance_lp = 1e-10;
- double tolerance_xy = 1e-7;
-
- char s_args[] = {"+proj=fouc_s +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.14425527424, 111695.40119861449},
- { 223402.14425527424, -111695.40119861449},
- {-223402.14425527424, 111695.40119861449},
- {-223402.14425527424, -111695.40119861449},
- };
-
- XY inv_in[] = {
- { 200, 100},
- { 200,-100},
- {-200, 100},
- {-200,-100}
- };
-
- LP s_inv_expect[] = {
- { 0.0017904931097838226, 0.000895246554928339},
- { 0.0017904931097838226, -0.000895246554928339},
- {-0.0017904931097838226, 0.000895246554928339},
- {-0.0017904931097838226, -0.000895246554928339},
- };
-
- 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_fouc_s_selftest (void) {return 10000;}