diff options
Diffstat (limited to 'test/unit/test_factory.cpp')
| -rw-r--r-- | test/unit/test_factory.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp index 881b7605..af1374bd 100644 --- a/test/unit/test_factory.cpp +++ b/test/unit/test_factory.cpp @@ -1324,6 +1324,11 @@ TEST(factory, AuthorityFactory_getDescriptionText) { NoSuchAuthorityCodeException); EXPECT_EQ(factory->getDescriptionText("10000"), "RGF93 to NGF IGN69 height (1)"); + + // Several objects have 4326 code, including an area of use, but return + // the CRS one. + EXPECT_EQ(factory->getDescriptionText("4326"), + "WGS 84"); } // --------------------------------------------------------------------------- |
