Adam Wulkiewicz
4bdfe1bf05
[test] Fix warnings.
2021-08-13 17:44:13 +02:00
Adam Wulkiewicz
efff23114a
[test] Fix static asserts by passing types.
2021-07-30 19:06:29 +02:00
Adam Wulkiewicz
08f7e66f79
[test] Drop library dependencies in tests.
...
If possible drop type_traits, mpl, typeof, foreach, assign.
Rearrange some includes.
2021-07-22 19:46:51 +02:00
Adam Wulkiewicz
ebbc58b52e
Fix various warnings, e.g. remove unused variables, etc.
2021-07-05 14:15:38 +02:00
Adam Wulkiewicz
2fc1a3fe8f
Add support for ranges passed by rvalue in range utilities.
...
This allows to pass temporary ranges and proxies without the need to
explicitly create variables.
2021-06-05 00:35:10 +02:00
Adam Wulkiewicz
50d1bfedc9
Support rvalue refs in range utils and use it.
2021-05-15 13:21:27 +02:00
Adam Wulkiewicz
51addc4c4d
[util] Rename for_each_dimension.hpp to algorithm.hpp
2021-03-31 23:31:02 +02:00
Adam Wulkiewicz
d2c79d97a9
[util] Add for_each_dimension and use it in several places.
2021-03-21 02:41:22 +01:00
Adam Wulkiewicz
3402c9101d
Replace boost::tuple with std::tuple or custom classes.
...
Modernize tuple support.
2020-10-21 16:21:06 +02:00
Barend Gehrels
45d624af9b
[cleanup] remove HAVE_TTMATH and other occurances of ttmath
2020-10-07 14:05:28 +02:00
Adam Wulkiewicz
2654215e38
[test] Replace Boost.MPL/TypeTraits with std type_traits in tests.
2020-09-03 13:37:15 +02:00
Adam Wulkiewicz
2b74e42436
Merge branch 'develop' into feature/setops_output
2020-03-24 14:38:46 +01:00
Mateusz Łoskot
96db897fc5
Rename Jamfile.v2 to Jamfile ( #679 )
...
There is no reason to maintain the legacy .v2 file extension,
which is unnecessary clutter, may be confusing.
2020-03-08 23:50:18 +01:00
Adam Wulkiewicz
7efff6a996
[test][util][tuples] Add tests.
2019-11-18 23:52:52 +01:00
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