aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_crs.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-12-15 16:37:09 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-12-15 16:37:09 +0100
commita44a6231364d893d906711138035074fb95521a2 (patch)
treea2d5451511c07dc13561a8928cda5f2e16511ee8 /test/unit/test_crs.cpp
parent1762d1c93c77415e737cbcded2371ad5e22df751 (diff)
downloadPROJ-a44a6231364d893d906711138035074fb95521a2.tar.gz
PROJ-a44a6231364d893d906711138035074fb95521a2.zip
Add SingleOperation::validateParameters()
Diffstat (limited to 'test/unit/test_crs.cpp')
-rw-r--r--test/unit/test_crs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/test_crs.cpp b/test/unit/test_crs.cpp
index 6ed002a9..30157611 100644
--- a/test/unit/test_crs.cpp
+++ b/test/unit/test_crs.cpp
@@ -4068,6 +4068,7 @@ TEST(crs, derivedGeographicCRS_with_affine_transform_to_PROJ) {
auto obj = WKTParser().createFromWKT(wkt);
auto crs = nn_dynamic_pointer_cast<DerivedGeographicCRS>(obj);
ASSERT_TRUE(crs != nullptr);
+ EXPECT_TRUE(crs->derivingConversion()->validateParameters().empty());
EXPECT_EQ(crs->exportToPROJString(PROJStringFormatter::create().get()),
"+proj=affine +xoff=0.5 +s11=1 +s12=0 +yoff=2.5 +s21=0 +s22=1");
}