diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-02-19 08:17:26 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2019-02-19 08:17:26 +0100 |
| commit | 6963af728ef309bc147fd7448ffdbdca21c636ad (patch) | |
| tree | 9e49a7b998f27b5a11bff304461baa836212420a /test/unit/test_io.cpp | |
| parent | dc0b36898f984b8e32db2a40882218d9d85c28e8 (diff) | |
| parent | 942722214e0b94bd848dac21c8e21923cf9f1c04 (diff) | |
| download | PROJ-6963af728ef309bc147fd7448ffdbdca21c636ad.tar.gz PROJ-6963af728ef309bc147fd7448ffdbdca21c636ad.zip | |
Merge remote-tracking branch 'osgeo/master' into 6.0
Diffstat (limited to 'test/unit/test_io.cpp')
| -rw-r--r-- | test/unit/test_io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_io.cpp b/test/unit/test_io.cpp index 2cc05aad..3d015e0c 100644 --- a/test/unit/test_io.cpp +++ b/test/unit/test_io.cpp @@ -6773,7 +6773,7 @@ TEST(io, projparse_longlat_a_es) { ASSERT_TRUE(crs != nullptr); EXPECT_EQ(crs->ellipsoid()->semiMajorAxis().getSIValue(), 2); auto rf = crs->ellipsoid()->computedInverseFlattening(); - EXPECT_EQ(rf, 3.4142135623730958) << rf; + EXPECT_NEAR(rf, 3.4142135623730958, 1e-14) << rf; } // --------------------------------------------------------------------------- |
