Commit Graph

33 Commits

Author SHA1 Message Date
Barend Gehrels
e4fbc736a4 [test] update defines for non-Kramer case 2019-11-13 13:09:14 +01:00
Barend Gehrels
2989992d37 [test] Write test configuration and make ccw order in tests optional 2019-11-13 12:52:33 +01:00
Barend Gehrels
fbf333c8a7 [test] updates in expectations and defines 2019-11-13 12:05:24 +01:00
Barend Gehrels
e9c45a7167 [test] update test if rescaling is turned of, for different configurations 2019-10-02 13:38:44 +02:00
Barend Gehrels
861fc38533 [TEST] Unify different defines into BOOST_GEOMETRY_TEST_ENABLE_FAILURES 2019-05-29 15:48:44 +02:00
Barend Gehrels
de5187f39c [test] update testcases w.r.t. disabling rescaling, add two cases 2019-04-03 13:58:40 +02:00
Barend Gehrels
59c795a967 [test] Verify testcases (union, intersection, diff, buffer) w.r.t. turning off
rescaling.
Because of the preparation steps, many tests already succeed
2019-03-02 15:57:29 +01:00
Barend Gehrels
07dd079033 [CONFIG] Use a positive define (USE_RESCALING) instead of an unclear negative
one (NO_ROBUSTNESS). Precedes removing of the rescaling.
2019-03-02 13:39:50 +01:00
Barend Gehrels
e9149afdae [buffer][test] review, use double quote for local includes 2019-02-09 18:31:22 +01:00
Barend Gehrels
d1e0296171 [buffer][test] remove ignore_validity for two cases which are now always fine 2017-11-29 17:07:29 +01:00
Barend Gehrels
900219f408 [buffer][test] add test_area to ut_settings, and avoid checking the tests
with huge coordinate differences on area, because they are meant for
assertion-checks and they might be invalid,
self-intersecting or empty depending on machine and numerical properties.
2017-11-25 13:19:26 +01:00
Barend Gehrels
a4f917628d [test] mark certain cases as invalid. These cases fail on either MinGW
or on PowerPC platforms.
2017-11-23 23:36:16 +01:00
Barend Gehrels
8bfd285086 [test] exclude one extra case still failing 2017-11-23 17:22:05 +01:00
Barend Gehrels
55753fc017 [test][buffer] test, by default, for is_valid 2017-11-19 15:53:07 +01:00
Barend Gehrels
56023ee015 [test][buffer] handle the optional right distance differently,
such that it does not have to be specified in case of same as left
2017-11-19 14:06:55 +01:00
Barend Gehrels
5962b10743 [test][buffer] add ut_settings like done in overlay tests, to be able
to add test on validity
2017-11-19 13:59:21 +01:00
Barend Gehrels
b46805107b Merge branch 'develop' into feature/cluster_touch
Conflicts:
	include/boost/geometry/algorithms/detail/overlay/handle_touch.hpp
	test/algorithms/overlay/Jamfile.v2
	test/algorithms/set_operations/difference/difference.cpp
	test/algorithms/set_operations/union/union.cpp
2016-06-29 13:18:51 +02:00
Adam Wulkiewicz
6fd54716a6 [test][buffer] Add failing test cases.
Add overload of testing function checking the number of polygons and
holes in the buffer output.
2016-06-21 16:46:52 +02:00
Barend Gehrels
49a2062627 [test] add testcase variations for buffer and a note: one test is now failing 2016-05-05 12:56:53 +02:00
Barend Gehrels
dfda1ccbc3 [buffer] fix last cases, in cases where the same offsetted ring is self-intersecting,
the approach using multi_index does not work. We need an extra idenfication
to check the 'sources' of the turns in clusters. Added piece_index for
this purpose.
This can be templated later (so only used for buffer)
2016-03-02 13:09:25 +01:00
Barend Gehrels
17ab7862c2 [test] buffer: enable previously failing testcase, and for two others
for ccw, which are all OK now (using cluster approach)
2016-02-28 12:48:23 +01:00
Barend Gehrels
8043f37f72 [test] buffer: disable one failing testcase 2016-02-28 12:45:17 +01:00
Barend Gehrels
a48a935064 [overlay] self-tangencies, similarly as handling side left/right,
handle cases where one leg continues collinearly
2015-11-18 11:14:35 +01:00
Barend Gehrels
e97bbb4da1 [overlay] fix cases where IP is not at endpoint. This fixes the last
union/buffer cases with less_by_segment_ratio instead of handle_tangencies
2015-11-12 19:46:29 +01:00
Barend Gehrels
242c619b35 [overlay] handle ux/ui and ui/ui in a more generic way, for union,
checking the relative sides of the outgoing segments (in the sorting)
2015-11-11 21:50:34 +01:00
Barend Gehrels
529b8e804c [overlay] fix ux/ux cases by sort order
(instead of handle tangencies)
2015-11-11 16:18:19 +01:00
Barend Gehrels
4a05869d2f [overlay] turn off handle_tangencies 2015-11-11 15:43:29 +01:00
Barend Gehrels
49add55205 [buffer] Fix assertion for cases with extreme coordinates.
In case of numerical errors, the started ring should be aborted to avoid doing
calculations with them.
2015-07-31 12:40:01 +02:00
Adam Wulkiewicz
2ab10d0e72 [test][buffer] Add test cases causing assertion failure. 2015-07-28 06:44:54 +02:00
Barend Gehrels
91ccb7e6e3 [buffer] re-enable support for no-robustness policy
Influence on polygon geometries is limited (countries also little influence)
2015-07-08 20:34:07 +02:00
barendgehrels
c3f1eb9b06 [test] remove two conditionals because these cases now also succeed,
either after selecting IP differently, or after rescale/rounding (or both)
2015-06-27 12:12:21 +02:00
barendgehrels
452f092e8e [buffer][test] use a rescale policy calculated over the output, instead
of over the input. This shows problems in the newly added test, and also
invalidates one other testcase.

Both problems (self-intersections) should be solved later
2015-06-13 10:32:00 +02:00
barendgehrels
525613b461 [buffer][test] renamed testfiles 2015-05-29 19:53:11 +02:00