diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/ellipsoid.gie | 3 | ||||
| -rw-r--r-- | test/unit/gie_self_tests.cpp | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/test/gie/ellipsoid.gie b/test/gie/ellipsoid.gie index 88419346..929eb799 100644 --- a/test/gie/ellipsoid.gie +++ b/test/gie/ellipsoid.gie @@ -58,7 +58,8 @@ operation proj=merc +a=-1 expect failure errno major_axis_not_given operation proj=merc -expect failure errno major_axis_not_given +accept 0 0 +expect 0 0 operation proj=merc +es=-1 expect failure errno major_axis_not_given diff --git a/test/unit/gie_self_tests.cpp b/test/unit/gie_self_tests.cpp index 4e788358..9ff7a278 100644 --- a/test/unit/gie_self_tests.cpp +++ b/test/unit/gie_self_tests.cpp @@ -500,9 +500,9 @@ TEST(gie, io_predicates) { ASSERT_FALSE(proj_angular_output(P, PJ_FWD)); ASSERT_FALSE(proj_angular_output(P, PJ_INV)); - /* pj_init_ctx should default to WGS84 */ + /* pj_init_ctx should default to GRS80 */ ASSERT_EQ(P->a, 6378137.0); - ASSERT_EQ(P->f, 1.0 / 298.257223563); + ASSERT_EQ(P->f, 1.0 / 298.257222101); proj_destroy(P); /* Test that pj_fwd* and pj_inv* returns NaNs when receiving NaN input */ |
