diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-10-15 21:05:36 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-10-15 21:05:36 +0200 |
| commit | 0c487cda1ef70a89d8acefcfc0be658932a1e412 (patch) | |
| tree | d4c49b9e66725c3396f931efbfb044f25debff95 /test/unit/test_c_api.cpp | |
| parent | d4245b06db73c95c70b4b82dd00e9815dcae04d8 (diff) | |
| download | PROJ-0c487cda1ef70a89d8acefcfc0be658932a1e412.tar.gz PROJ-0c487cda1ef70a89d8acefcfc0be658932a1e412.zip | |
Database: update to EPSG v9.8.3
Note: a hack has been added into customizations.sql to cancel deprecatation
of USA geoid2012 grids by geoid2018 grids, as the later are not yet available
in proj-datumgrid-northamerica (https://github.com/OSGeo/proj-datumgrid/issues/55)
Diffstat (limited to 'test/unit/test_c_api.cpp')
| -rw-r--r-- | test/unit/test_c_api.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/test/unit/test_c_api.cpp b/test/unit/test_c_api.cpp index e7104fae..f8b447ca 100644 --- a/test/unit/test_c_api.cpp +++ b/test/unit/test_c_api.cpp @@ -3486,13 +3486,9 @@ TEST_F(CApi, proj_get_remarks) { auto remarks = proj_get_remarks(co); ASSERT_NE(remarks, nullptr); - EXPECT_EQ( - remarks, - std::string("Scale difference in ppb where 1/billion = 1E-9. " - "Derivation excluded Cocos, Christmas and Macquarie " - "Islands but is applied there. See codes 8444-46 for " - "equivalents using NTv2 method. See code 8447 for " - "alternative including distortion model for Aus only.")); + EXPECT_TRUE(std::string(remarks).find( + "Scale difference in ppb where 1/billion = 1E-9.") == 0) + << remarks; } // --------------------------------------------------------------------------- |
