aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_robin.c
diff options
context:
space:
mode:
authorThomas Knudsen <thokn@sdfe.dk>2017-11-12 06:30:06 +0100
committerThomas Knudsen <thokn@sdfe.dk>2017-11-12 06:30:06 +0100
commit0a578911ee7158852eaf62cd9e0cedebf937dc3a (patch)
tree3ff56a32f2518f8dcccd609aad3a21688aa7eed2 /src/PJ_robin.c
parent98dd8d5b6c0f24b8e2be1a8e77e4dfac72a2dc50 (diff)
downloadPROJ-0a578911ee7158852eaf62cd9e0cedebf937dc3a.tar.gz
PROJ-0a578911ee7158852eaf62cd9e0cedebf937dc3a.zip
Remove selftests from projection files starting with r,s,t,u
Diffstat (limited to 'src/PJ_robin.c')
-rw-r--r--src/PJ_robin.c44
1 files changed, 1 insertions, 43 deletions
diff --git a/src/PJ_robin.c b/src/PJ_robin.c
index d3f92cd9..a9bac6ec 100644
--- a/src/PJ_robin.c
+++ b/src/PJ_robin.c
@@ -154,46 +154,4 @@ PJ *PROJECTION(robin) {
}
-#ifndef PJ_SELFTEST
-int pj_robin_selftest (void) {return 0;}
-#else
-
-int pj_robin_selftest (void) {
- double tolerance_lp = 1e-10;
- double tolerance_xy = 1e-7;
-
- char s_args[] = {"+proj=robin +a=6400000 +lat_1=0.5 +lat_2=2"};
-
- LP fwd_in[] = {
- { 2, 1},
- { 2,-1},
- {-2, 1},
- {-2,-1}
- };
-
- XY s_fwd_expect[] = {
- { 189588.423282507836, 107318.530350702888},
- { 189588.423282507836, -107318.530350702888},
- {-189588.423282507836, 107318.530350702888},
- {-189588.423282507836, -107318.530350702888},
- };
-
- XY inv_in[] = {
- { 200, 100},
- { 200,-100},
- {-200, 100},
- {-200,-100}
- };
-
- LP s_inv_expect[] = {
- { 0.002109689065506131, 0.000931805533547745983},
- { 0.002109689065506131, -0.000931805533547745983},
- {-0.002109689065506131, 0.000931805533547745983},
- {-0.002109689065506131, -0.000931805533547745983},
- };
-
- 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_robin_selftest (void) {return 10000;}