[geos-commits] [SCM] GEOS branch master updated. 4c8e68a1cf16637be0ef3826c18fc3df628039c8
git at osgeo.org
git at osgeo.org
Tue Aug 27 11:16:09 PDT 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".
The branch, master has been updated
via 4c8e68a1cf16637be0ef3826c18fc3df628039c8 (commit)
from c4bfa4585e74bd63f1df1000a115ff3aa2ddd327 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4c8e68a1cf16637be0ef3826c18fc3df628039c8
Author: Daniel Baston <dbaston at gmail.com>
Date: Tue Aug 27 14:15:41 2019 -0400
Add test for #588
diff --git a/tests/unit/operation/valid/IsValidTest.cpp b/tests/unit/operation/valid/IsValidTest.cpp
index 06938f3..fe6bde5 100644
--- a/tests/unit/operation/valid/IsValidTest.cpp
+++ b/tests/unit/operation/valid/IsValidTest.cpp
@@ -101,5 +101,19 @@ void object::test<2>
ensure_equals(valid, false);
}
+template<>
+template<>
+void object::test<3>
+()
+{
+ std::string wkt("POLYGON (( -86.3958130146539250 114.3482370100377900, 64.7285128575111490 156.9678884302379600, 138.3490775437400700 43.1639042523018260, 87.9271046586986810 -10.5302909001479570, 87.9271046586986810 -10.5302909001479530, 55.7321237336437390 -44.8146215164960250, -86.3958130146539250 114.3482370100377900))");
+ auto g = wktreader.read(wkt);
+
+ ensure(g->isValid());
+
+ auto g_rev = g->reverse();
+
+ ensure(g_rev->isValid());
+}
} // namespace tut
-----------------------------------------------------------------------
Summary of changes:
tests/unit/operation/valid/IsValidTest.cpp | 14 ++++++++++++++
1 file changed, 14 insertions(+)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list