diff options
Diffstat (limited to 'test/unit')
| -rw-r--r-- | test/unit/test_c_api.cpp | 1 | ||||
| -rw-r--r-- | test/unit/test_factory.cpp | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/unit/test_c_api.cpp b/test/unit/test_c_api.cpp index dccd2fce..1049ce35 100644 --- a/test/unit/test_c_api.cpp +++ b/test/unit/test_c_api.cpp @@ -5199,6 +5199,7 @@ TEST_F(CApi, proj_create_derived_geographic_crs) { " MEMBER[\"World Geodetic System 1984 (G1150)\"],\n" " MEMBER[\"World Geodetic System 1984 (G1674)\"],\n" " MEMBER[\"World Geodetic System 1984 (G1762)\"],\n" + " MEMBER[\"World Geodetic System 1984 (G2139)\"],\n" " ELLIPSOID[\"WGS 84\",6378137,298.257223563,\n" " LENGTHUNIT[\"metre\",1]],\n" " ENSEMBLEACCURACY[2.0]],\n" diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp index eb362415..9319968d 100644 --- a/test/unit/test_factory.cpp +++ b/test/unit/test_factory.cpp @@ -339,7 +339,7 @@ TEST(factory, AuthorityFactory_createDatumEnsembleGeodetic) { ASSERT_EQ(ensemble->identifiers().size(), 1U); EXPECT_EQ(ensemble->identifiers()[0]->code(), "6326"); EXPECT_EQ(*(ensemble->identifiers()[0]->codeSpace()), "EPSG"); - EXPECT_EQ(ensemble->datums().size(), 6U); + EXPECT_EQ(ensemble->datums().size(), 7U); EXPECT_EQ(ensemble->positionalAccuracy()->value(), "2.0"); ASSERT_TRUE(!ensemble->domains().empty()); auto domain = ensemble->domains()[0]; @@ -3263,7 +3263,7 @@ TEST(factory, createObjectsFromName) { // EPSG:4326 and the 6 WGS84 realizations // and EPSG:7881 'Tritan St. Helena'' whose alias is // 'WGS 84 Tritan St. Helena' - EXPECT_EQ(res.size(), 8U); + EXPECT_EQ(res.size(), 9U); if (!res.empty()) { EXPECT_EQ(res.front()->getEPSGCode(), 4326); } |
