aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_igh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_igh.c')
-rw-r--r--src/PJ_igh.c44
1 files changed, 1 insertions, 43 deletions
diff --git a/src/PJ_igh.c b/src/PJ_igh.c
index 33cdde22..01cfa246 100644
--- a/src/PJ_igh.c
+++ b/src/PJ_igh.c
@@ -222,46 +222,4 @@ PJ *PROJECTION(igh) {
}
-#ifndef PJ_SELFTEST
-int pj_igh_selftest (void) {return 0;}
-#else
-
-int pj_igh_selftest (void) {
- double tolerance_lp = 1e-10;
- double tolerance_xy = 1e-7;
-
- char s_args[] = {"+proj=igh +a=6400000 +lat_1=0.5 +lat_2=2"};
-
- LP fwd_in[] = {
- { 2, 1},
- { 2,-1},
- {-2, 1},
- {-2,-1}
- };
-
- XY s_fwd_expect[] = {
- { 223878.49745627123, 111701.07212763709},
- { 223708.37131305804, -111701.07212763709},
- {-222857.74059699223, 111701.07212763709},
- {-223027.86674020503, -111701.07212763709},
- };
-
- XY inv_in[] = {
- { 200, 100},
- { 200,-100},
- {-200, 100},
- {-200,-100}
- };
-
- LP s_inv_expect[] = {
- { 0.001790489447892545, 0.00089524655489191132},
- { 0.0017904906685957927, -0.00089524655489191132},
- {-0.001790496772112032, 0.00089524655489191132},
- {-0.0017904955514087843, -0.00089524655489191132},
- };
-
- 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_igh_selftest (void) {return 10000;}