aboutsummaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-02-19 22:35:37 +0100
committerGitHub <noreply@github.com>2020-02-19 22:35:37 +0100
commit427274c0fd170dfd8c39c24562cf634d0efc50ee (patch)
tree48d90821f481d3ba3941d24be8d7d8c4f1b8914d /test/unit
parent4217d81f5ed7ad5bcf15a0bdf9525785a39032ca (diff)
parent6695c75bf5f434cd782823351f91f63eb115d7c0 (diff)
downloadPROJ-427274c0fd170dfd8c39c24562cf634d0efc50ee.tar.gz
PROJ-427274c0fd170dfd8c39c24562cf634d0efc50ee.zip
Merge pull request #1948 from PROJ-BOT/backport-1945-to-7.0
[Backport 7.0] validateParameters(): fix false-positive warning on Equidistant Cylindrical
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/test_operation.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/test_operation.cpp b/test/unit/test_operation.cpp
index d4d1768e..30d52806 100644
--- a/test/unit/test_operation.cpp
+++ b/test/unit/test_operation.cpp
@@ -2090,6 +2090,8 @@ TEST(operation, createEquidistantCylindrical) {
"PARAMETER[\"central_meridian\",2],\n"
"PARAMETER[\"false_easting\",3],\n"
"PARAMETER[\"false_northing\",4]");
+
+ EXPECT_TRUE(conv->validateParameters().empty());
}
// ---------------------------------------------------------------------------
@@ -2127,6 +2129,8 @@ TEST(operation, createEquidistantCylindricalSpherical) {
"PARAMETER[\"central_meridian\",2],\n"
"PARAMETER[\"false_easting\",3],\n"
"PARAMETER[\"false_northing\",4]");
+
+ EXPECT_TRUE(conv->validateParameters().empty());
}
// ---------------------------------------------------------------------------