Menelaos Karavelas
a9526bbbc5
[test][is_valid] add multi-polygon test cases where one polygon is inside
...
a hole of another
2014-06-24 14:47:53 +03:00
Menelaos Karavelas
346784d5e5
[test][is_valid] move validity check functions/classes and related
...
code to file test_is_valid.hpp; make testing more elaborate: for rings,
convert them to polygons and multi-polygons and test them as such;
for polygons, convert them to multi-polygons and test them as such;
2014-06-24 13:43:52 +03:00
Menelaos Karavelas
91df67e3ce
[test][is_valid] add more tests cases for polygon and multi-polygons
2014-06-23 15:44:23 +03:00
Menelaos Karavelas
e7e7f958fb
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple
...
Conflicts:
include/boost/geometry/algorithms/detail/is_simple/debug_print_boundary_points.hpp
include/boost/geometry/algorithms/detail/is_valid/polygon.hpp
2014-06-22 23:09:47 +03:00
Menelaos Karavelas
7656be4221
[test][is_valid] explicitly set the 2nd template parameter of
...
check_iterator_range to false
2014-06-19 13:59:01 +03:00
Menelaos Karavelas
4a4d52b082
[geometry][test] prefix macro GEOMETRY_TEST_DEBUG with BOOST_
2014-06-19 12:24:27 +03:00
Menelaos Karavelas
236bb1b9ac
[test][algorithms][is_valid] fix order of booleans in BOOST_CHECK_MESSAGE;
...
add test for variant support;
2014-06-18 12:54:59 +03:00
Menelaos Karavelas
a4402a9a31
[test][algorithms][is_valid] replace "const bool" and "static const bool" by "bool const"
2014-06-18 04:54:16 +03:00
Menelaos Karavelas
4ab3bd3529
[test][is_valid] add a few more test cases
2014-06-18 04:31:22 +03:00
Menelaos Karavelas
3a1ee0dbdb
[test][is_valid] make is_valid test more elaborate by testing all
...
types of rings, polygons and multipolygons (open/closed, cw/ccw),
and by testing both then spikes/duplicates are allowed or not
2014-06-17 16:34:32 +03:00
Menelaos Karavelas
ee59e0b6e6
[test][is_valid] fix and re-enable non-running test cases
2014-06-17 11:13:00 +03:00
Barend Gehrels
2ec5536406
[is_valid] fix non-running testcases and therefore add appropriate failure message
2014-06-16 19:18:16 +02:00
Barend Gehrels
b8535cab3c
[is_valid] fix unit test compilation typos
2014-06-16 19:02:28 +02:00
Menelaos Karavelas
ee28794572
[test][is_valid] re-factor code so that when an open ring is tested,
...
the corresponding closed ring is tested as well.
2014-06-16 14:39:55 +03:00
Menelaos Karavelas
a68bcb3b13
[test][algorithms] factor-out common code
2014-06-16 12:30:36 +03:00
Menelaos Karavelas
a0b1e53a92
[test][is_valid] update is_valid unit test to take into account
...
that duplicate points for areal geometries may be acceptable or not
2014-06-16 12:14:08 +03:00
Menelaos Karavelas
363414a23b
[test][is_valid] allow spikes for linear geometries
2014-06-15 21:48:09 +03:00
Menelaos Karavelas
0d577e7d4c
[test][algorithms][is_valid] add missing include
2014-06-14 23:50:56 +03:00
Menelaos Karavelas
07039bf584
[test][algorithms][is_valid] fix includes; polish and cleanup code;
...
add test cases for rings and polygons and onyl a couple for
multi-polygons;
2014-06-14 22:33:55 +03:00
Menelaos Karavelas
c5c22d720c
[is_valid / is_simple] move files one directory level up (ommit the ogc directory);
...
move code one namespace up (ommit the ogc namespace);
2014-04-30 12:34:52 +03:00