aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit/test_crs.cpp4
-rw-r--r--test/unit/test_io.cpp4
-rw-r--r--test/unit/test_operation.cpp2
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()));