Adam Wulkiewicz
8597ed9fd2
[test][util][range] Add missing include.
2016-03-16 18:27:22 +01:00
Adam Wulkiewicz
0ecda93787
[test][util][range] Fix compilation errors on some platforms.
2016-02-17 05:24:32 +01:00
Adam Wulkiewicz
446280afc7
[test][range] Add test of range::back_inserter().
2016-01-23 14:00:55 +01:00
Adam Wulkiewicz
58950ac91d
[test][math] Add test for math::abs().
2015-07-22 04:50:47 +02:00
Adam Wulkiewicz
b0b32d903e
[test][util] Rename the tests.
2015-05-28 23:15:07 +02:00
Adam Wulkiewicz
1df894c44a
[centroid][test] Update copyrights.
2015-05-26 00:44:56 +02:00
Adam Wulkiewicz
9aa2e642ee
[test][math] Add tests for math::equals().
2015-05-24 14:27:22 +02:00
Menelaos Karavelas
ba9117b37e
[test][util][promote integral] guard use of int128 and uint128 by the macro
2015-03-30 17:44:05 +03:00
Barend Gehrels
e56561481e
[test] Added define to avoid default usage of multiprecision
2015-03-29 00:38:18 +01:00
Adam Wulkiewicz
551507ac47
[test][util] Prevent min/max macro substitution for numeric_limits min/max.
2015-03-28 02:47:20 +01:00
Menelaos Karavelas
1b92041500
[test][util][promote integral] (re-)implement bit_size locally in the unit test
2015-03-28 03:18:59 +02:00
Menelaos Karavelas
3df65c1bd4
[test][util][promote integral] measure all sizes in bits rather than a mixture
...
of bits and bytes; add a few more tests regarding max and min values;
2015-03-28 01:32:24 +02:00
Menelaos Karavelas
27e7ad6aa6
[test][util][promote integral] update unit test to account for unsigned long long and uint128
2015-03-27 22:46:34 +02:00
Menelaos Karavelas
3154673657
[test][util][promote integral] make computation of minimum required size more
...
precise; add testing for unsigned types;
2015-03-27 11:54:14 +02:00
Menelaos Karavelas
eb0dfd1b5d
[test][util][promote integral] add tests for the unsigned types:
...
unsigned char, unsigned short, unsigned int, unsigned long, std::size_t;
add test for the type signed char;
2015-03-26 18:51:11 +02:00
Menelaos Karavelas
15e83e1a19
[test][util][promote integral] uncomment commented include;
...
make test for custom integral types always active;
2015-03-26 11:20:13 +02:00
Menelaos Karavelas
b87c59375a
[test][util][promote integral] add unit test for the promote_integral meta-function
2015-03-26 08:45:45 +02:00
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