aboutsummaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-09-27 17:14:23 +0200
committerEven Rouault <even.rouault@spatialys.com>2021-09-27 17:14:23 +0200
commitf1efc8a7e444c306a57acd53d8283586132b2c09 (patch)
tree360cfd076bc32ac875a515101e1fd4341520f9e7 /test/unit
parentac1963352d3118b2ecc702f23df1f42f883d6f0c (diff)
downloadPROJ-f1efc8a7e444c306a57acd53d8283586132b2c09.tar.gz
PROJ-f1efc8a7e444c306a57acd53d8283586132b2c09.zip
Database: update to EPSG v10.036
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/test_c_api.cpp1
-rw-r--r--test/unit/test_factory.cpp4
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);
}