36 Commits

Author SHA1 Message Date
Adam Wulkiewicz
409e97304e [test][distance] Suppress unused parameter warning. 2017-01-06 20:05:32 +01:00
Adam Wulkiewicz
edc0adc95a [test] Add missing TypeOf includes (after dropping Serialization dependency). 2017-01-04 16:44:44 +01:00
Barend Gehrels
798906441a Rename concepts in unit tests 2016-07-27 16:18:00 +02:00
Adam Wulkiewicz
e47ea29910 [test][distance] Add test cases for spherical equatorial CS mentioned in ticket 11982. 2016-02-12 23:46:17 +01:00
Adam Wulkiewicz
34048498ec [test][distance] Add a test case with NaN coordinates. 2015-10-08 17:42:59 +02: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
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
Adam Wulkiewicz
158271682c [test][distance] Specify/change the test names. 2015-06-07 16:48:15 +02:00
Menelaos Karavelas
535a7049f9 [geometry] replace uses of constants math::d2r and math::r2d by corresponding free functions 2015-05-08 12:23:23 +03:00
Menelaos Karavelas
7658231aa4 Merge branch 'develop' of https://github.com/boostorg/geometry into fix/remove_deprecated_include_paths
Conflicts:
	test/algorithms/set_operations/difference/difference.cpp
2015-03-31 14:30:04 +03:00
Barend Gehrels
90fcd83f30 [test] Remove bigobj flag from Jamfiles
now that it is defined in the upper level
2015-03-22 22:58:24 +01:00
Menelaos Karavelas
29c460b546 [test][algorithms] remove deprecated includes referring to the
include/boost/geometry/multi/ directory; polish and simplify some includes;
2015-03-12 02:10:14 +02:00
Menelaos Karavelas
556637448f [test][algorithms][distance] add test case where distance computed is a NaN 2015-03-11 10:51:03 +02:00
Menelaos Karavelas
a33fb12f2e [test][algorithms][distance] add test case where distance overflows 2015-03-11 10:50:41 +02:00
Menelaos Karavelas
c519fb80e3 [test][algorithms][distance] remove last argument in tester calls (not needed) 2015-03-11 10:49:55 +02:00
Menelaos Karavelas
bb25a857ee [test][algorithms][distance] update copyright year 2015-03-11 10:49:18 +02:00
Menelaos Karavelas
c8d6269b09 [test][algorithms][distance] polish and update code; re-factor some parts;
allow testing against test cases where distance computed is not a finite
floating-point value;
2015-03-11 10:48:46 +02:00
Menelaos Karavelas
218044919a [test][algorithms][distance] fix MSVC warning C4100 complaining about an unreferenced formal parameter 2015-02-11 19:51:36 +02:00
Adam Wulkiewicz
a3469a4715 [test][algorithms] Fix unused parameter warnings. 2015-02-03 12:18:38 +01:00
Adam Wulkiewicz
23d3e60767 Merge pull request #197 from mkaravel/feature/support_for_one_point_geometries
Feature/support for one point geometries
2015-01-28 23:24:42 +01:00
Menelaos Karavelas
af9b0c76fe [test][algorithms][distance] replace use of internal Boost.Test tools
by BOOST_CHECK and BOOST_CHECK_CLOSE
2015-01-24 14:51:18 +02:00
Menelaos Karavelas
3c443862d4 [test][algorithms][distance] add test cases of linear and/or areal
geometries that contain ranges with less than two points
2015-01-22 18:26:03 +02:00
Adam Wulkiewicz
2dfc5ccce3 Merge pull request #192 from mkaravel/feature/distance
[test][algorithms][distance][spherical_equatorial] add one more test case of antipodal points
2015-01-12 18:01:03 +01:00
Menelaos Karavelas
83d61147dd [test][algorithms][distance][spherical_equatorial] add one more test case
of antipodal points
2015-01-12 16:11:46 +02:00
Menelaos Karavelas
ceb1102c46 [test][algorithms][distance] explicitly initialize variable to avoid
maybe-uninitialized-warning
2015-01-12 15:59:23 +02:00
Menelaos Karavelas
cb26608452 [test][strategies][spherical][cross track] add test cases where the distance
of the point from the spherical segment is small (1e-3 or smaller)
2014-12-05 10:56:37 +02:00
Menelaos Karavelas
db51e59aae [test][algorithms][distance][spherical equatorial] update unit test to account
for the changes in the cross track strategy (that now has a comparable counterpart)
2014-11-19 23:55:51 +02:00
Menelaos Karavelas
445fa3fd8e [test][algorithms][distance][spherical equatorial] print, in debug mode, the
radius of the strategy; change the label in one of the test cases;
2014-11-18 08:30:06 +02:00
Menelaos Karavelas
46bb719a63 [test][algorithms][distance] add unit test for testing distance
computations for pointlike/linear geometries in the spherical equatorial
coordinate system
2014-11-07 23:28:05 +02:00
Menelaos Karavelas
3f19ebab75 [test][algorithms][distance] cleanup unit test for distances of
pointlike/pointlike geometries in the spherical equatorial coordinate system;
add testing when a comparable strategy is passed;
2014-11-07 23:26:54 +02:00
Menelaos Karavelas
111d9537a1 [test][distance] add algorithm (used in unit tests) for computing the distance
in a brute force manner, using BG's distance only for the following combinations:
* point/point
* point/segment
* segment/segment
2014-11-07 23:25:11 +02:00
Menelaos Karavelas
2c3d9e898b [test][distance] cleanup common code for distance unit tests in the
spherical_equatorial coordinate system
2014-11-07 23:24:19 +02:00
Menelaos Karavelas
1b638c66fc [test][distance] add some more P/L and L/L test cases; some of them
have triggered the bug in the Cartesian segment-segment intersection
strategy and the distance has produced wrong results; with the fix
in the Cartesian segment-segment intersection strategy, the distance
computation test cases added succeed;
2014-11-04 22:06:18 +02:00
Menelaos Karavelas
96243eb580 [test][distance] add test cases for multipoint/polygon and
multipoint/multipolygon with points inside the polygon/multipolygon
2014-11-03 20:58:58 +02:00
Adam Wulkiewicz
7e1e794dd0 [test] Move from_wkt to main test directory and tweak #includes. 2014-10-30 00:52:10 +01:00
Adam Wulkiewicz
aaa96982cf [test] Move distance() tests to separate directory. 2014-10-30 00:32:02 +01:00