diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-01-17 17:01:20 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-01-17 21:57:27 +0100 |
| commit | c0ac895d77e823fe9a9458d013eb0f6378f39060 (patch) | |
| tree | 9e7641cda61a75c3a6209d17dad6fa7c8448cd44 /test/unit/pj_transform_test.cpp | |
| parent | 3121d9bc309b439adcc2ab9743a3d2b3a8f48296 (diff) | |
| download | PROJ-c0ac895d77e823fe9a9458d013eb0f6378f39060.tar.gz PROJ-c0ac895d77e823fe9a9458d013eb0f6378f39060.zip | |
Remove proj_create_from_proj_string() and proj_create_from_user_input(), and make proj_create() do more or less what proj_create_from_user_input() did before (fixes #1214)
Diffstat (limited to 'test/unit/pj_transform_test.cpp')
| -rw-r--r-- | test/unit/pj_transform_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/pj_transform_test.cpp b/test/unit/pj_transform_test.cpp index 22f7afca..9d8439ee 100644 --- a/test/unit/pj_transform_test.cpp +++ b/test/unit/pj_transform_test.cpp @@ -572,6 +572,7 @@ TEST(pj_transform_test, init_epsg) { auto src = pj_init_plus("+init=epsg:4326"); ASSERT_TRUE(src != nullptr); auto dst = pj_init_plus("+init=epsg:32631"); + ASSERT_TRUE(dst != nullptr); double x = 3 * DEG_TO_RAD; double y = 0 * DEG_TO_RAD; EXPECT_EQ(pj_transform(src, dst, 1, 0, &x, &y, nullptr), 0); |
