Adam Wulkiewicz
7f91c4a527
[buffer] Update expected test results, syncronize with the change in rescale policy (rounding).
2015-06-25 17:28:38 +02:00
Adam Wulkiewicz
c691425d6a
[is_valid] Update the test according to the change of rescale_policy.
...
The consistent results for MPoly and Poly contained in it.
2015-06-24 22:53:33 +02:00
Adam Wulkiewicz
6d0be4db61
[policies] Round to the nearest integral value during rescaling.
2015-06-24 22:50:50 +02:00
barendgehrels
d40bed9381
[buffer] change testvalues and tolerance in mikado with large distance
...
cases to support for all occuring variants on various platforms (can differ
up to 53 square meter so an average is selected and 30 meter tolerance)
2015-06-24 17:09:02 +02:00
Barend Gehrels
90aaa664c4
[test] add commented section to conveniently create a csv from testresults
2015-06-24 16:29:18 +02:00
Barend Gehrels
688ea21d42
[buffer] fix countries buffer test after change to select IP closest to
...
endpoint or else IP using shortest segment. New values are close to old
values, checked visually and the same for MSVC/gcc/clang
2015-06-24 16:28:51 +02:00
Barend Gehrels
15b14b5d7d
[buffer][test] higher tolerance for mikado cases
2015-06-24 13:18:22 +02:00
Barend Gehrels
9914d7a116
[buffer][test] replace -999 with constant
2015-06-24 13:17:52 +02:00
barendgehrels
181c17be5c
[buffer] fix testcase for county1 which had empty output (but expected area)
2015-06-24 12:18:16 +02:00
barendgehrels
b5756e9e08
[buffer] test: don't use assign_inverse but assign just coordinates to avoid
...
infinite ranges. Check for emptyness as expected
2015-06-24 11:51:06 +02:00
barendgehrels
16aac54944
[robustness] check for infinite numbers in calculating the factor, and
...
only assert when really assigned
2015-06-24 11:45:41 +02:00
barendgehrels
fbe3cb1c83
[buffer] unit test: don't calculate rescale policy on empty output to
...
avoid empty or invalid boxes and possible assertions
2015-06-24 11:06:23 +02:00
Adam Wulkiewicz
dd0e360146
[io][wkt] Optimize the usage of end tokenizer::iterator.
...
Create and return the end iterator in initialize() function the same way how
iterator `it` is, by output function argument passed by reference. Reuse it
inside this function.
In ..._parser::apply() functions reuse the end iterator, do not create it
each time it is needed.
Consistently pass the end iterator by const reference.
2015-06-22 22:58:05 +02:00
Adam Wulkiewicz
7910be94fd
[relate] Add assertion and remove unneeded condition.
2015-06-22 22:33:07 +02:00
Adam Wulkiewicz
6a04e80f1a
[geometry][ci] Propagate failing test result status from loop running tests.
2015-06-22 18:59:50 +02:00
Menelaos Karavelas
95c13605f9
[test][algorithms][sym_difference][L/L] increase the torelance from EPS to 4*EPS for a failing test case
2015-06-22 15:18:13 +03:00
Menelaos Karavelas
6cc42c5dc5
[test][algorithms][difference][L/L] increase the precision tolerance from EPS to 4*EPS for two test cases
2015-06-22 15:14:38 +03:00
Menelaos Karavelas
a0ca615051
Merge pull request #311 from mkaravel/fix/distance_point_box_cross_track_strategy
...
Fix cross_track_point_box distance strategy
2015-06-22 00:13:11 +03:00
barendgehrels
283f0a2853
Merge branch 'develop' of github.com:boostorg/geometry into develop
2015-06-21 22:59:27 +02:00
barendgehrels
88be2948f3
Three minor various details
2015-06-21 22:55:09 +02:00
barendgehrels
97c368cdf2
Buffer unit test - small rewrite of access to folder location
2015-06-21 22:54:32 +02:00
barendgehrels
6926c270b3
Adapt difference/intersection unit tests to change in IP calculation
2015-06-21 22:53:25 +02:00
barendgehrels
603a2a7c12
Adapt buffer unit tests to change in IP calculation
2015-06-21 22:52:17 +02:00
barendgehrels
ed103f777e
intersection calculation: fix behaviour in rare cases where IP is taken from segment
...
A but segment B is much shorter, and IP is also at end-point of segment B.
The arbitrary decision (robust_ra < robust_rb) is changed into another
decision, based on closeness to end-points and on segment length, which leads
to more precise results
2015-06-21 22:50:40 +02:00
Adam Wulkiewicz
9804911dd1
[geometry][ci] Improve the CircleCI script.
...
- define the tests as a list stored in the environment variable
- when moving the coverage results keep picking test names until
a unique name is found.
- after the info files from different containers are gathered
automatically merge all of them into one.
- improve/add comments
2015-06-20 18:48:10 +02:00
Adam Wulkiewicz
2e0cfd631a
[geometry][ci] Move *.gcda and *.gcno coverage files instead of copy.
2015-06-20 05:55:40 +02:00
Adam Wulkiewicz
583354cbae
[test][intersects] Suppress unused local typedef warnings.
2015-06-20 05:47:55 +02:00
Adam Wulkiewicz
514251c7fe
[geometry][readme] Use consistent, flat badges from shields.io
2015-06-20 05:35:09 +02:00
Adam Wulkiewicz
bcc03065b4
[geometry][ci] Enable parallel testing of geometry and index.
...
Gather test results in each CircleCI container, then send all of them to
the first one and there merge and send.
2015-06-20 03:56:54 +02:00
Adam Wulkiewicz
c598934d4e
[geometry] Manually alter the JSON result file and send it to Coveralls.
...
- use circle branch name (without newline)
- use circleci service_name
- set job_id (even if it's not used)
2015-06-19 20:56:14 +02:00
Menelaos Karavelas
933ed0791d
[strategies][distance][cross track point box] re-factor code and make it more readable
2015-06-19 09:37:49 +03:00
Menelaos Karavelas
23addc2c06
[strategies][distance][cross track point box] optimize the computation of the
...
distance when the point's longitude does not belong to the longitude range of the
box: instead of computing the distances to both meridian segments of the box, determine
which one among the two box segments the point is closest to, and compute the distance
of the point to the closest segment found
2015-06-19 01:17:46 +03:00
Menelaos Karavelas
7dd56e8b87
[test][algorithms][distance] add more test cases for distance(point, box) in the
...
spherical equatorial coordinate system
2015-06-19 01:16:48 +03:00
Adam Wulkiewicz
61d4d491c2
Merge branch 'develop' of github.com:boostorg/geometry into develop
2015-06-18 13:27:14 +02:00
Adam Wulkiewicz
098ca1e038
[geometry] Add CircleCI and Coveralls integration, add test results to the README.
2015-06-18 12:59:58 +02:00
Menelaos Karavelas
362aec8aa1
[test][algorithms][expand] increase precision tolerance for a test case
...
(to account for failing unit tests for some platforms)
2015-06-18 08:40:32 +03:00
Menelaos Karavelas
42a5a091f7
[test][algorithms][envelope] remove duplicate test case;
...
increase tolerance in test case (to avoid unit test failures on certain
platforms/compilers, such as MSVC, qcc and quite a few others)
2015-06-17 19:27:12 +03:00
Menelaos Karavelas
ff9ba7fe3c
[test][iterators][point iterator] delete dynamically allocated memory
...
(fixes memory leak error reported in regression matrix of the develop branch)
2015-06-17 19:20:50 +03:00
Adam Wulkiewicz
3209b534ee
Merge branch 'develop' of github.com:boostorg/geometry into develop
2015-06-15 16:47:06 +02:00
Adam Wulkiewicz
7ddb2eca09
[test][disjoint] Group the tests in separate files.
2015-06-15 16:46:57 +02:00
Menelaos Karavelas
edf943696c
Merge pull request #301 from mkaravel/fix/bounding_box_computation_in_get_rescale_policy
...
Fix: initialize the rescale policy only if the input geometries are non-empty
2015-06-15 15:32:00 +03:00
Adam Wulkiewicz
dd3f58194c
[test][touches] Group the tests in separate files.
2015-06-15 13:44:08 +02:00
Adam Wulkiewicz
e660e9fb19
[test][overlaps] Group the tests in separate files.
2015-06-15 03:53:01 +02:00
Adam Wulkiewicz
7422c6c400
[test][intersects] Group the tests in separate files.
2015-06-15 03:42:27 +02:00
Menelaos Karavelas
21b9226562
[strategies][spherical][distance][cross track point box] add missing includes
2015-06-13 23:57:03 +03: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
Menelaos Karavelas
bf6bc4b5aa
[doc][strategies][distance][cross track point box] add documentation
...
for cross_track_point_box distance strategy
2015-06-13 01:54:49 +03:00
Menelaos Karavelas
70d0281dc5
[test][algorithms][distance] add unit test for distance(point, box)
...
in the spherical equatorial coordinate stystem
2015-06-13 01:52:22 +03:00
Menelaos Karavelas
12e497f394
[strategies][distance][cross track point box] update cross track point-box
...
strategy to work with box seen as Cartesian products of intervals
2015-06-13 01:47:44 +03:00
Adam Wulkiewicz
36f789ffed
[test][is_valid] Add a test case with inconsistent results for Polygon and MultiPolygon.
2015-06-12 21:37:17 +02:00