297 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 c3c7a99c5f [test] Skip validity check for some cases when rescaling is not used 2019-11-13 12:53:07 +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 af316e7a39 [buffer] fix inside-piece detection for one-sided buffers 2019-10-30 14:44:23 +01:00
Barend Gehrels 8aa31d68cc [buffer] fix round end cap for asymmetric buffers 2019-10-30 12:34:40 +01:00
Barend Gehrels e4f2bd4ce0 [test] add testcases for mostly left/right on asymmetric buffers,
for flat end on asymmetric buffers,
enable three formerly failing cases,
renamed cases, add settings variable
2019-10-30 11:47:45 +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 28eb87b402 [intersection] remove segment_ratio_type in most of the cases,
and where they are still used, its definition is changed making use
of the tags now available, and moving it to detail. It is to be
deprecated
2019-08-21 17:15:12 +02:00
Barend Gehrels 283a0bc571 [buffer] fix line/line intersection point calculation for some cases,
now using general form (which will be used later more widely). This fixes
some numerical issues.
Including testcase, reported as #596
2019-06-26 14:45:42 +02:00
Barend Gehrels fb0c9d3b8e [TEST] Minor fixes in buffer tests 2019-05-29 16:54:52 +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 9d5b160584 Merge pull request #582 from barendgehrels/feature/add_start_turn
Feature/add start turn
2019-05-01 22:08:02 +02:00
Barend Gehrels de5187f39c [test] update testcases w.r.t. disabling rescaling, add two cases 2019-04-03 13:58:40 +02:00
Adam Wulkiewicz c659de4f41 [test][buffer] Fix type. 2019-03-28 14:08:19 +01:00
Barend Gehrels 96956c3519 [test] Change expectations because of failing tests on MSVC 2019-03-13 14:35:29 +01:00
Barend Gehrels 3a025c43d5 [test] add testcase for issue #369. For this, add logarithmic
option to compare very small areas. Use this too in county and aimes
2019-03-02 19:13:15 +01:00
Barend Gehrels e7ddb0a056 [test] Add testcase for reported issue 555: buffer deflate omits interior ring
It is OK when rescaling is turned off
2019-03-02 17:26:07 +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 c46e4625a7 [buffer] rename strategy (review result) 2019-02-13 11:44:13 +01:00
Barend Gehrels e9149afdae [buffer][test] review, use double quote for local includes 2019-02-09 18:31:22 +01:00
Barend Gehrels 7cbfd53bf2 [test] add missing area strategy 2019-01-16 13:08:23 +01:00
Barend Gehrels 787a4071c5 [test] Add new test to Jamfile 2019-01-16 12:07:47 +01:00
Barend Gehrels fc312fed46 [test] use envelope_strategy to support unit test 2019-01-09 20:34:23 +01:00
Barend Gehrels 5348d02ae3 [test] add unit test for geographic point buffer 2019-01-09 16:30:33 +01:00
Barend Gehrels 9ce1c0b7c7 [test] Add area strategy to unit test function to be able to use another
than the default
2019-01-09 16:28:49 +01:00
Barend Gehrels 3f26e34f43 [test] Remove side-of-intersection from tests 2019-01-01 12:51:46 +01:00
Barend Gehrels d5e3fe996d [test] pass the buffer itself 2018-12-19 11:49:35 +01:00
Barend Gehrels 78735951c8 [test] add number of points to unit test settings 2018-12-19 11:16:32 +01:00
Barend Gehrels 0821a112de [test] split big linestring from new test (for Microsoft) 2018-02-22 18:59:16 +01:00
Barend Gehrels 48e6c33ffc [test] add testcase for ticket 13444 which goes wrong with rescaling 2018-02-17 18:51:06 +01:00
Barend Gehrels 617b78c420 [test] increase tolerance of multi-point circle buffers, which, having
many intersections, have their collinear points removed and are 1e-5 smaller
2018-01-26 13:25:38 +01:00
Barend Gehrels b55b95846e [test] check validity of failing testcase, it will be solved by no-rescaling.
So accept for now that result is invalid (which is a false positive)
2018-01-26 13:03:25 +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 00a8dac019 [buffer][test] add test cases for fixed behaviour of deflated holes should
have minimal 3 points
2017-11-29 17:06:56 +01:00
Barend Gehrels 99da88ac26 [test][buffer] remove checks for self-intersections which is replaced
by validity
2017-11-29 10:24:00 +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 7ab31cd832 [buffer][test] remove default argument - change order 2017-11-24 22:32:33 +01:00
Adam Wulkiewicz cdf766d175 [test] Fix Boost inspect issues (license, tabs, non-asci character, no-newline). 2017-11-24 01:18: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 751b05ddc1 [buffer] revert one change (should keep multi_index) and
update tests now that validity is improved (but not yet solved).

Also 2 testcases are added generating uu points
2017-11-23 17:03:41 +01:00
Barend Gehrels 5b3ac5847b [test][buffer] update countries test where Norway (distance 2) reports invalid 2017-11-19 16:00:17 +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 1d1ee684ab [test] examine reported buffer case and fix expectations 2017-11-15 17:19:58 +01:00
Barend Gehrels 1d7d9a9a00 [buffer] fix generation of buffer's interior ring when there is a touching point,
by selecting the right operation
2017-11-15 11:58:27 +01:00