diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2021-02-09 21:24:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-09 21:24:14 +0100 |
| commit | 6ce2c1174a2ee9bb529cc9260b33b6243950e0ad (patch) | |
| tree | f8d3c21324927506be5bcc25f7d97c6071e435a1 /test | |
| parent | ad2cb7a1206391b5742eb5346f2a7f9baf864cff (diff) | |
| parent | c72dabdc3f1fd5e09c750b8965768b1b5b686798 (diff) | |
| download | PROJ-6ce2c1174a2ee9bb529cc9260b33b6243950e0ad.tar.gz PROJ-6ce2c1174a2ee9bb529cc9260b33b6243950e0ad.zip | |
Merge pull request #2518 from rouault/epsg_10_013
Database: update to EPSG v10.013
Diffstat (limited to 'test')
| -rw-r--r-- | test/unit/test_crs.cpp | 4 | ||||
| -rw-r--r-- | test/unit/test_io.cpp | 4 | ||||
| -rw-r--r-- | test/unit/test_operation.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/test_crs.cpp b/test/unit/test_crs.cpp index cea5ff6c..3d0a108a 100644 --- a/test/unit/test_crs.cpp +++ b/test/unit/test_crs.cpp @@ -4226,7 +4226,7 @@ TEST(crs, compoundCRS_identify_db) { // Identify a CompoundCRS whose horizontal and vertical parts are known // but not the composition. { - auto obj = createFromUserInput("EPSG:4326+3855", dbContext); + auto obj = createFromUserInput("EPSG:4326+5703", dbContext); auto sourceCRS = nn_dynamic_pointer_cast<CompoundCRS>(obj); ASSERT_TRUE(sourceCRS != nullptr); auto wkt = sourceCRS->exportToWKT( @@ -4242,7 +4242,7 @@ TEST(crs, compoundCRS_identify_db) { EXPECT_EQ(res.front().second, 100); const auto &components = res.front().first->componentReferenceSystems(); EXPECT_EQ(components[0]->getEPSGCode(), 4326); - EXPECT_EQ(components[1]->getEPSGCode(), 3855); + EXPECT_EQ(components[1]->getEPSGCode(), 5703); } } diff --git a/test/unit/test_io.cpp b/test/unit/test_io.cpp index dfa75cd9..84999b07 100644 --- a/test/unit/test_io.cpp +++ b/test/unit/test_io.cpp @@ -10586,10 +10586,10 @@ TEST(io, createFromUserInput) { { // Approximate match on each piece of the compound CRS - auto obj = createFromUserInput("WGS84 + EGM96", dbContext); + auto obj = createFromUserInput("WGS84 + NAVD88 height", dbContext); auto crs = nn_dynamic_pointer_cast<CompoundCRS>(obj); ASSERT_TRUE(crs != nullptr); - EXPECT_EQ(crs->nameStr(), "WGS 84 + EGM96 height"); + EXPECT_EQ(crs->nameStr(), "WGS 84 + NAVD88 height"); } { diff --git a/test/unit/test_operation.cpp b/test/unit/test_operation.cpp index 422ab97d..5b576fb4 100644 --- a/test/unit/test_operation.cpp +++ b/test/unit/test_operation.cpp @@ -5475,7 +5475,7 @@ TEST(operation, normalizeForVisualization) { src, authFactory->createCoordinateReferenceSystem("4979"), // WGS 84 3D ctxt); - ASSERT_EQ(list.size(), 3U); + ASSERT_GE(list.size(), 3U); auto op = list[1]; auto opNormalized = op->normalizeForVisualization(); EXPECT_FALSE(opNormalized->_isEquivalentTo(op.get())); |
