Commit Graph

216 Commits

Author SHA1 Message Date
Barend Gehrels
331e7f80c9 [TEST] add testcases for reported issues 2019-11-23 14:03:40 +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
090e2c4e4a [test] add testcase for issue #630 2019-11-13 11:48:44 +01:00
Adam Wulkiewicz
0f9e61ceac [test][union] Add spherical A/A case. 2019-10-30 02:15:13 +01:00
Adam Wulkiewicz
1b33b57c47 Merge branch 'develop' into fix/empty_union 2019-10-29 18:57:12 +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
d0981b0a98 [TEST] Remove define for union 2019-05-29 16:56:25 +02:00
Barend Gehrels
1465e26502 [TEST] Add two testcases 2019-05-29 16:42:57 +02:00
Barend Gehrels
5eed0d779d [TEST] Add extra define BOOST_GEOMETRY_USE_KRAMER_RULE to indicate
using the Kramer-rule intersection strategy.
This can change some test behaviour
2019-05-29 15:53:29 +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
229b42aee8 [TURNS] Disable start-turns, and take the closer point to measure distance,
which makes that measurement more precise.
2019-05-15 12:55:38 +02:00
Barend Gehrels
bcb9f60bec [test] add testcases 17,18,19,20 2019-05-01 22:08:57 +02:00
Barend Gehrels
b84918fcde [test] add testcase for FP precision without rescaling 2019-04-17 15:10:04 +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
afc2c87e02 [test] Add testcase for reported issue #548, which succeeds without rescaling 2019-03-02 17:51:09 +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
cb27d880c7 [TEST] Remove NO_SELF from svg filename 2019-02-23 14:31:04 +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
38cf379448 [test] Add testcase for reported issue 2019-01-23 21:58:51 +01:00
Adam Wulkiewicz
97b8af1ed7 [test][union] Add spherical A/A case. 2018-05-07 18:36:21 +02:00
Adam Wulkiewicz
c07e6e6de3 [test][union] Add spherical A/A case. 2018-05-06 02:12:52 +02:00
Adam Wulkiewicz
61f8b5323a [test][union] Add test case for spherical polygons. 2018-05-04 01:41:37 +02:00
Barend Gehrels
34dfbba271 [test] adapt point expectations for union/difference/intersection
because we now skip some collinear points
2018-01-26 13:02:06 +01:00
Adam Wulkiewicz
6d0d53c41e Merge branch 'develop' into feature/area_strategies 2018-01-16 14:45:48 +01:00
Barend Gehrels
6b637c91c0 Merge branch 'feature/intvalid' into develop 2018-01-04 21:42:43 +01:00
Barend Gehrels
9f00c8501b [union] skip discarding i/e turns for union because this causes some turns
to be missed. This fixes the new case #case_recursive_boxes_88
2017-12-31 17:17:21 +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
Adam Wulkiewicz
3b80d1ae71 [test] Fix unused parameter warnings. 2017-12-26 14:12:16 +01:00
Adam Wulkiewicz
7ebd447aee [test][algorithms] Use new area strategy interface. 2017-12-22 03:40:01 +01:00
Barend Gehrels
0f4712bdfb [test] add recent testcases to the other test scenarios 2017-12-20 16:54:51 +01:00
Barend Gehrels
18eb8c5cd7 [test] add new testcase to union/difference 2017-12-06 15:39:53 +01:00
Adam Wulkiewicz
88cb906b53 [test][union] Modify geographic union test wrt recent changes (by default invalid polygons are not returned). 2017-11-23 00:09:05 +01:00
Adam Wulkiewicz
a2d889ca05 [test][union] Conditionally check union's invalid output exception. 2017-11-15 21:34:37 +01:00
Adam Wulkiewicz
0413013fbc [test][union] Add geographic union tests (big result, negative area). 2017-11-11 02:07:36 +01:00
Adam Wulkiewicz
968035415f Merge pull request #424 from awulkiew/fix/geographic_preceding
Fix preceding/exceeding in geographic CS
2017-10-25 23:28:14 +02:00
Barend Gehrels
9024c5f095 [test] Add testcase for incorrectly generated interior ring 2017-10-23 14:57:11 +02:00
Barend Gehrels
8dee4ab1c8 [is_valid] check reported testcase, it is valid now. Also add it to
union to check the self-intersection-points (which are many)
2017-10-23 13:12:39 +02:00
Barend Gehrels
704488a731 [test] add last testcase to union/difference too 2017-10-23 12:17:52 +02:00
Barend Gehrels
1a7b13dadc [test] add last testcases to union/difference 2017-10-11 14:38:28 +02:00
Barend Gehrels
3010148541 [test] add last testcases to union/difference 2017-10-11 13:52:31 +02:00
Barend Gehrels
a5507f2e68 [test] add testcases to union/difference 2017-10-04 18:22:18 +02:00