Adam Wulkiewicz
37429b3234
[test] Fix select_most_precise test for Android.
...
On this platform sizeof(long double) == sizeof(double).
Conditionally test the combination of those types only if long double is
greater.
2015-03-20 18:04:50 +01:00
Adam Wulkiewicz
6fd35a3fb8
[test][util] Generate custom error message in select_most_precise test.
2015-03-18 17:25:57 +01:00
Barend Gehrels
65f57b1947
[test] move as_range to algorithms/detail
2015-03-11 19:07:16 +01:00
Samuel Debionne
e969a4c33a
[test][util][range] Add tests for const pointer
...
Add tests for range iterator_range<const pointer> and pair<const
pointer>
2015-03-09 11:28:31 +01:00
Adam Wulkiewicz
8bd9144474
[test][util][range] Add tests for iterator_range<pointer> and pair<pointer>.
2015-03-04 14:21:50 +01:00
Adam Wulkiewicz
7603005e9f
[test][util][range] Add test for pos() function.
2015-02-02 19:30:14 +01:00
Adam Wulkiewicz
9cfee81a09
[geometry] Replace tabs with spaces
2014-07-08 02:27:17 +02:00
Adam Wulkiewicz
004e4e465f
[test][range] Shield part of a test with macro (storing NonMovable is std::vector<>)
2014-07-06 12:19:30 +02:00
Adam Wulkiewicz
17f08e3ac4
Merge pull request #66 from mkaravel/feature/debug_macro
...
Feature/debug macro
2014-06-22 15:29:16 +02:00
Adam Wulkiewicz
ba0906369e
[range] Add support for invalidating resize() and workarounds for MSVC and MinGW.
...
Using of the iterator returned by erase() caused assertion failures (false positive) on MSVC with iterator debugging enabled.
MSVC std::vector can't store non-movable objects if rvalue references are supported.
MinGW std::vector can't store pointers.
2014-06-22 15:17:49 +02:00
Adam Wulkiewicz
cd2e17b102
[range] Optimize erase() in C++11 - use std::move() instead of std::copy() if possible.
2014-06-21 22:08:51 +02:00
Adam Wulkiewicz
a0a296877f
[range] Fix the return type of range::erase() and add tests.
2014-06-21 18:18:25 +02:00
Menelaos Karavelas
4a4d52b082
[geometry][test] prefix macro GEOMETRY_TEST_DEBUG with BOOST_
2014-06-19 12:24:27 +03:00
Adam Wulkiewicz
43d0ef60f3
[range] Add erase() taking non-mutable iterators (in-line with C++11 std::vector) + tests.
2014-06-19 02:40:39 +02:00
Adam Wulkiewicz
493f51f1fd
[range] Add tests for free functions.
2014-06-19 01:48:57 +02:00
Menelaos Karavelas
c3ed6692bf
[test][util] add missing include
2014-06-16 15:02:00 +03:00
Menelaos Karavelas
a7beb51f92
[test][util] guard use of boost::long_long_type inside a
...
BOOST_HAS_LONG_LONG block
2014-06-16 14:54:18 +03:00
Menelaos Karavelas
d265965b2e
[test][util] replace 2LL literal by boost::long_long_type(2)
2014-06-16 14:36:11 +03:00
Menelaos Karavelas
c48fd6f903
[test][util] replace compile time check that uses __cplusplus
...
with BOOST_NO_LONG_LONG
2014-06-16 14:27:52 +03:00
Menelaos Karavelas
ed442a15d2
[test][util] add unit test for math::sqrt
2014-06-10 09:19:58 +03:00
Menelaos Karavelas
ef1a257242
[util][math] fix return type for math::sqrt; fix implementation
...
for sqrt for non-fundamental types (use the using mechanism);
2014-06-10 09:18:28 +03:00
Adam Wulkiewicz
188b1c3e48
[test] Fix unused typedef warnings
2014-06-03 16:20:11 +02:00
Samuel Debione
09a8ba53a7
[distance] Use transform_variant
...
Remove dependency to is_implemented. Update transform_variant to support
MPL sequence input.
2014-05-19 13:52:09 +02:00
Barend Gehrels
3e5333a8c4
[geometry] Remove all trailing spaces (tests)
2013-12-05 19:38:32 +01:00
Bruno Lalande
98aa16b3f2
Added 2 utility metafunctions for variants. Necessary to make some algos variant aware.
...
[SVN r86584]
2013-11-08 08:14:51 +00:00
Barend Gehrels
fdccdbff5e
[geometry] cleanup, removing MSVC proj-files where were for version 2005
...
[SVN r85375]
2013-08-17 15:43:41 +00:00
Barend Gehrels
2c055da57d
Added/updated unit test for distance fix, and new calculation_type meta function
...
[SVN r76882]
2012-02-04 15:18:06 +00:00
Barend Gehrels
d16d09db78
Simplified select_most_precise unit test
...
[SVN r76873]
2012-02-04 12:15:45 +00:00
Barend Gehrels
7cb0ae96fd
Boost.Geometry update copyright -> 2012
...
[SVN r76390]
2012-01-09 21:56:08 +00:00
Mateusz Loskot
8fbb9b3655
Boost.Geometry:
...
* Catch up with r75977 changes with new layout of IO formats in geometry/io/<FORMAT>/
* General maintenance in tests and examples.
[SVN r75979]
2011-12-16 01:45:22 +00:00
Mateusz Loskot
b46bc26858
[geometry] Restructured WKT io files to follow structure of: geometry/domains/<DOMAIN>/io/<FORMAT>/<read|write>.hpp
...
[SVN r75076]
2011-10-20 23:20:05 +00:00
Mateusz Loskot
90ce0fa3d1
[geometry] Moved util/write_dsv.hpp to io/dsv/write.hpp. This introduces refinement of new io structure: geometry/io/<FORMAT>/<read|write>.hpp
...
[SVN r75073]
2011-10-20 21:12:52 +00:00
Barend Gehrels
38321e2bb9
coordinate_cast of rational, bugfix and implemented parsing strings like 3/2 (how it is streamed)
...
[SVN r74375]
2011-09-14 20:28:04 +00:00
Barend Gehrels
445c89adfe
Reflects changes in moving range_type/as_range/circular_iterator
...
[SVN r71812]
2011-05-08 11:57:37 +00:00
Bruno Lalande
d92dbecb6a
Aligned adapted C array and Boost Array to the recent changes.
...
[SVN r71575]
2011-04-28 21:26:54 +00:00
Bruno Lalande
fc68031c90
Removed adapted/tuple_<cs>.hpp files and added a macro to use instead.
...
[SVN r71448]
2011-04-23 22:26:50 +00:00
Barend Gehrels
91f240188c
Updated tests (assign -> assign_values)
...
[SVN r71213]
2011-04-12 20:14:55 +00:00
Barend Gehrels
a01c615089
Made copyright notices in libs/geometry consistent
...
[SVN r70876]
2011-04-02 20:33:14 +00:00
Barend Gehrels
c1b1b4a6c7
Moved wkt (used in nearly all tests) from extension to domains tree for release
...
[SVN r69906]
2011-03-12 23:53:18 +00:00
Barend Gehrels
aa9b9e4234
Added many tests for difference
...
Removed obsoleted copy.cpp
[SVN r69515]
2011-03-03 11:33:39 +00:00
Barend Gehrels
e0a240b770
Renamed linear_ring to ring (linear_ring is still available)
...
[SVN r68387]
2011-01-23 16:20:01 +00:00
Barend Gehrels
f2074474cd
Updates in test to reflect move of views from util to views
...
[SVN r67310]
2010-12-18 21:40:27 +00:00
Barend Gehrels
2d69e93a5d
Changed BOOST_AUTO by typename interior_rings in loops through interior rings
...
[SVN r67244]
2010-12-15 19:52:49 +00:00
Barend Gehrels
2197cadeac
Revised reversible_closeable.cpp to solve occasianal bug in MSVC, due to implicit construction.
...
[SVN r67197]
2010-12-12 22:36:50 +00:00
Barend Gehrels
bdf73634af
Added comments on problematic line in test (does NOT (yet) occur in library code)
...
[SVN r67195]
2010-12-12 21:08:26 +00:00
Barend Gehrels
0e86d7d82c
Updates for changes in closeable_view / fixed reversible_closeable.cpp for all but one issue
...
[SVN r67189]
2010-12-12 16:49:14 +00:00
Barend Gehrels
4aa4fa974b
Updates for changes in closeable_view / fixed reversible_closeable.cpp for all but one issue
...
[SVN r67188]
2010-12-12 16:38:05 +00:00
Barend Gehrels
72e9574bf0
-Made closeable_view and reversible_view metafunctions, defining itself or a Boost.Range reversed_range or a closing_view
...
[SVN r67187]
2010-12-12 15:48:45 +00:00
Barend Gehrels
1f90af482d
Updated polygon.hpp, ring_type is now reference because it returns a reference to its rings
...
Updated many test files to avoid point_2d
Updated boost.polygon adaption
[SVN r67178]
2010-12-11 15:51:38 +00:00
Barend Gehrels
1c8fce3059
model namespaces, moved point_xy to d2::point_xy, revised point_ll_deg to ll::point<degree>
...
[SVN r66975]
2010-12-02 16:10:47 +00:00