Barend Gehrels
a14dc9d2c1
fix: distinguish turn to discard in case of start turns
...
Fixes #1342
2024-11-25 15:34:26 +02:00
Barend Gehrels
d03167598c
fix: extra round over ring in #1226 and #1326
...
This can occur in a sequence of touch and then touch_interior
2024-11-25 15:34:10 +02:00
Barend Gehrels
adc9044da2
test: add test cases for issues fixed in next commit
2024-07-30 19:30:16 +02:00
Vissarion Fisikopoulos
0a752a6575
Remove BG_IF_RESCALED macro
2024-05-29 15:37:58 +03:00
Vissarion Fisikopoulos
d3ed449e39
Remove rescaling: remove BOOST_GEOMETRY_USE_RESCALING and update BoostGeometryWriteExpectedFailures
2024-05-29 15:34:00 +03:00
Vissarion Fisikopoulos
c02a8f6747
Fix CCW and isolated turns
2024-03-27 11:45:37 +02:00
Barend Gehrels
52fc1f62b3
[test] add cases for issues #1229 #1231 #1244 and some test refactoring
2024-03-13 09:30:47 +00:00
Barend Gehrels
4c6b365329
[test] add unit test for issue #1138 which was fixed by eb879fe
2023-09-29 13:00:34 +02:00
Barend Gehrels
a908a21efe
[overlay] fix cluster by adapting tolerance
...
Fixes #1081
2022-11-23 14:20:43 +01:00
Barend Gehrels
455822d6b1
[test] cleanup already succeeding testcases
2022-11-16 14:00:43 +01:00
Barend Gehrels
9c18680f31
[fix] for integer coordinates, segment intersection now rounds to nearest point
2022-02-07 10:33:15 +01:00
Barend Gehrels
e99cfde120
[intersection] use balance between distance-to-end and length-of-segments to determine to use a or b
2021-09-13 09:27:47 +02:00
Barend Gehrels
1030bd0d70
[test] add cases for issues #690 #875 #876
2021-08-04 14:07:01 +02:00
Adam Wulkiewicz
789281a5d1
Merge pull request #881 from awulkiew/feature/test_dependencies
...
Drop dependencies in tests.
2021-07-30 13:18:22 +02:00
Barend Gehrels
14df20453f
[test] remove the non used KRAMER define and rephrase/include/exclude some tests
2021-07-28 13:09:26 +02:00
Adam Wulkiewicz
08f7e66f79
[test] Drop library dependencies in tests.
...
If possible drop type_traits, mpl, typeof, foreach, assign.
Rearrange some includes.
2021-07-22 19:46:51 +02:00
Barend Gehrels
1d4b2e5df2
[test] adapt testcases and / or expectations
2021-06-02 11:46:31 +02:00
Barend Gehrels
75d8f9e9b9
[intersection] fix intersection points outside of the segments
2021-04-28 10:31:21 +02:00
Barend Gehrels
e098a85f5a
[test] add testcase for issue #838
2021-04-07 11:13:58 +02:00
Barend Gehrels
eee7fc53ea
[clusters] detection is refactored to a simpler sweeping algorithm
...
This fixes a part (around 30%) of the remaining errors in the recursive buffer check
2021-04-07 11:13:20 +02:00
Barend Gehrels
d006d1e4ac
[test] add testcases from recursive_polygons_buffer partly solved by handling collinear as equal
2021-01-13 09:33:57 +01:00
Barend Gehrels
abaa211d3a
[sort_by_side] fix cases where the cluster point is approached by segments, but the last point before is colocated with the turn itself
...
This fixes 50% of the errors currently found by recursive_polygons_buffer (when rescaling is turned off)
2020-12-02 14:19:50 +01:00
Barend Gehrels
42bd7cfe95
[turns] fix precision when turns are arriving or leaving.
...
Then their fractions should be 1 or 0 (and not nearly so)
2020-11-25 10:21:16 +01:00
Barend Gehrels
5f677775ef
[TEST] Conform the countset, replace many #ifdefs with expectation limits and apply it for float, double, long double (in many tests)
2020-10-21 10:18:56 +02:00
Barend Gehrels
3272220a3c
[test][doc] Clean up numeric types in tests and adapt documentation
2020-09-30 11:20:44 +02:00
Barend Gehrels
7739109b3b
[get_turn_info] Remove the recently added is_ii
2020-08-12 11:39:22 +02:00
Barend Gehrels
0969372147
[get_turns] use distance measures for side, and handle situation
...
with an imperfect touch (floating point issue)
2020-07-22 11:53:48 +02:00
Barend Gehrels
a09b9f4b51
[test] update testsuite, write expected failures (if all failures are enabled),
...
use optional counts for difference tests.
2020-06-10 14:27:42 +02: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
33ea069ac0
[TEST] Test updates, most importantly the check on validity which now
...
only reports if input is considered as valid.
2019-07-17 14:23:29 +02:00
Barend Gehrels
8c13a57f09
[test] Changes in difference unit test
2019-07-17 09:47:56 +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
baaf2e3284
[test] add testcases for reported issues #566 , and to mailing list at March 7
2019-03-13 13:56:44 +01:00
Barend Gehrels
24455aeab8
changes in comments
2019-03-05 20:31:20 +01:00
Barend Gehrels
5314fdd8d9
[test] Simplify settings
...
(add one previously deleted validity value)
2019-03-02 17:07:59 +01:00
Barend Gehrels
7f23fcea98
[test] Harmonize define (four variants were used).
...
If defined, just ignore test_validity flag (such that validity is
always checked), same for sym_difference
2019-03-02 16:08:24 +01: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
d67688ee2b
[TEST] Remove defines, in general "not no_selfturns" (= use them)
...
and remove other branch not using them.
Because self turns are now stable, default, and without them does not need
to be unit tested.
Plus it can make test cases with/without rescaling way more complex.
2019-02-23 14:35:34 +01:00
Barend Gehrels
a1aa082c17
Merge pull request #551 from barendgehrels/feature/remove_rescaling_preparations
...
Feature/remove rescaling preparations
2019-02-07 19:09:54 +01:00
Barend Gehrels
e9b81ed877
[test] add testcases, minor changes in existing testcases
2019-01-30 16:22:02 +01:00
Adam Wulkiewicz
2e19b75876
[setops] Disable validity testing for several cases.
2019-01-25 21:13:28 +01:00
Barend Gehrels
f704579ed0
[overlay] by default use self-turns. This reverses definition
...
of define SELF to NO_SELF. Including all unit tests.
2017-12-29 13:17:42 +01:00
Barend Gehrels
bcbcbf8a74
[test] with corrected validity, update testcases
2017-07-05 16:44:25 +02:00
Barend Gehrels
ae09052e7d
[test] update administration after fix in is_valid. Most
...
difference cases are valid now.
2017-06-28 22:27:03 +02:00
Barend Gehrels
5a94c45644
[test] Check remaining problems for difference, restructure macros like in multi version
2017-05-25 16:20:35 +02:00
Barend Gehrels
92a4326c6a
[test] rename cases which clashed in last merge (they were suffixed by m)
...
103m -> 106
104m -> 107
105m -> 105 (actually was not a clash)
2017-05-06 18:53:30 +02:00
Barend Gehrels
e52e2a8665
Merge branch 'develop' into feature/intvalid
...
# Conflicts:
# test/algorithms/overlay/overlay_cases.hpp
# test/algorithms/set_operations/intersection/intersection.cpp
# test/algorithms/set_operations/union/union.cpp
2017-05-06 18:26:49 +02:00