aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_august.c
diff options
context:
space:
mode:
authorThomas Knudsen <thokn@sdfe.dk>2017-10-12 20:58:47 +0200
committerThomas Knudsen <thokn@sdfe.dk>2017-10-12 20:58:47 +0200
commitb6e37b99b1f7d07de691f428e8d04dbd5f8b3caa (patch)
tree03a5d254971e3d7858a628152f0fa5b1735f093f /src/PJ_august.c
parentde5059b4efb088f5b88ef73878bda3fc8b6609d0 (diff)
downloadPROJ-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_august.c')
-rw-r--r--src/PJ_august.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/PJ_august.c b/src/PJ_august.c
index d81644bf..c437ca2f 100644
--- a/src/PJ_august.c
+++ b/src/PJ_august.c
@@ -31,32 +31,4 @@ PJ *PROJECTION(august) {
return P;
}
-#ifndef PJ_SELFTEST
int pj_august_selftest (void) {return 0;}
-#else
-
-int pj_august_selftest (void) {
- double tolerance_lp = 1e-10;
- double tolerance_xy = 1e-7;
-
- char s_args[] = {"+proj=august +a=6400000 +lat_1=0 +lat_2=2"};
-
- LP fwd_in[] = {
- { 2, 1},
- { 2,-1},
- {-2, 1},
- {-2,-1}
- };
-
- XY s_fwd_expect[] = {
- {223404.97818097242, 111722.34028976287},
- {223404.97818097242, -111722.34028976287},
- {-223404.97818097242, 111722.34028976287},
- {-223404.97818097242, -111722.34028976287},
- };
-
- return pj_generic_selftest (0, s_args, tolerance_xy, tolerance_lp, 4, 4, fwd_in, 0, s_fwd_expect, 0, 0, 0);
-}
-
-
-#endif