diff options
Diffstat (limited to 'libs/accumulators/test')
41 files changed, 45 insertions, 44 deletions
diff --git a/libs/accumulators/test/Jamfile.v2 b/libs/accumulators/test/Jamfile.v2 index baab6c3880..4770113fbf 100644 --- a/libs/accumulators/test/Jamfile.v2 +++ b/libs/accumulators/test/Jamfile.v2 @@ -16,9 +16,10 @@ feature.compose <iterator_debugging>off ; project + : default-build + <link>static : requirements <library>/boost/test//boost_unit_test_framework - <link>static <include>../../.. <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE # MSVC's iterator debugging causes some tests to run forever. @@ -35,7 +36,7 @@ alias accumulators_regular_tests [ run covariance.cpp ] [ run droppable.cpp ] [ run error_of.cpp ] - [ run extended_p_square.cpp ] + [ run extended_p_square.cpp : : : <toolset>msvc-14.2,<variant>release,<cxxstd>14:<build>no ] [ run extended_p_square_quantile.cpp ] [ run external_accumulator.cpp ] [ run external_weights.cpp ] @@ -62,7 +63,7 @@ alias accumulators_regular_tests [ run variance.cpp ] [ run vector.cpp ] [ run weighted_covariance.cpp ] - [ run weighted_extended_p_square.cpp ] + [ run weighted_extended_p_square.cpp : : : <toolset>msvc-14.2,<variant>release,<address-model>32,<cxxstd>14:<build>no ] [ run weighted_kurtosis.cpp ] [ run weighted_mean.cpp ] [ run weighted_median.cpp ] diff --git a/libs/accumulators/test/covariance.cpp b/libs/accumulators/test/covariance.cpp index abdbc9e829..1491fc8d58 100644 --- a/libs/accumulators/test/covariance.cpp +++ b/libs/accumulators/test/covariance.cpp @@ -6,7 +6,7 @@ #define BOOST_NUMERIC_FUNCTIONAL_STD_VECTOR_SUPPORT #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/variates/covariate.hpp> #include <boost/accumulators/statistics/stats.hpp> diff --git a/libs/accumulators/test/droppable.cpp b/libs/accumulators/test/droppable.cpp index 1ab1f140bc..4a9ce22fac 100644 --- a/libs/accumulators/test/droppable.cpp +++ b/libs/accumulators/test/droppable.cpp @@ -4,7 +4,7 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/stats.hpp> #include <boost/accumulators/statistics/mean.hpp> diff --git a/libs/accumulators/test/error_of.cpp b/libs/accumulators/test/error_of.cpp index 058902396f..dc6ecfd8ec 100644 --- a/libs/accumulators/test/error_of.cpp +++ b/libs/accumulators/test/error_of.cpp @@ -4,7 +4,7 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/stats.hpp> #include <boost/accumulators/statistics/with_error.hpp> diff --git a/libs/accumulators/test/extended_p_square.cpp b/libs/accumulators/test/extended_p_square.cpp index 09f50cf875..bfd9ce2157 100644 --- a/libs/accumulators/test/extended_p_square.cpp +++ b/libs/accumulators/test/extended_p_square.cpp @@ -8,7 +8,7 @@ #include <iostream> #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/numeric/functional/complex.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> diff --git a/libs/accumulators/test/extended_p_square_quantile.cpp b/libs/accumulators/test/extended_p_square_quantile.cpp index 7d602012fa..7a55b3cdde 100644 --- a/libs/accumulators/test/extended_p_square_quantile.cpp +++ b/libs/accumulators/test/extended_p_square_quantile.cpp @@ -8,7 +8,7 @@ #include <iostream> #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/numeric/functional/complex.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> diff --git a/libs/accumulators/test/external_accumulator.cpp b/libs/accumulators/test/external_accumulator.cpp index ad8d5bd047..ff95a5e5f1 100644 --- a/libs/accumulators/test/external_accumulator.cpp +++ b/libs/accumulators/test/external_accumulator.cpp @@ -4,7 +4,7 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/stats.hpp> #include <boost/accumulators/statistics/mean.hpp> diff --git a/libs/accumulators/test/external_weights.cpp b/libs/accumulators/test/external_weights.cpp index 4a904b2ed7..eda166efcc 100644 --- a/libs/accumulators/test/external_weights.cpp +++ b/libs/accumulators/test/external_weights.cpp @@ -4,7 +4,7 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/stats.hpp> #include <boost/accumulators/statistics/weighted_mean.hpp> diff --git a/libs/accumulators/test/kurtosis.cpp b/libs/accumulators/test/kurtosis.cpp index 92c5cfe940..ca02b0cd65 100644 --- a/libs/accumulators/test/kurtosis.cpp +++ b/libs/accumulators/test/kurtosis.cpp @@ -7,7 +7,7 @@ #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/numeric/functional/complex.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> diff --git a/libs/accumulators/test/max.cpp b/libs/accumulators/test/max.cpp index 00a9793675..77be587fed 100644 --- a/libs/accumulators/test/max.cpp +++ b/libs/accumulators/test/max.cpp @@ -43,14 +43,14 @@ void test_persistency() acc(1); acc(0); acc(2); - BOOST_CHECK_EQUAL(2u, max(acc)); + BOOST_CHECK_EQUAL(2, max(acc)); boost::archive::text_oarchive oa(ss); acc.serialize(oa, 0); } accumulator_set<int, stats<tag::max> > acc; boost::archive::text_iarchive ia(ss); acc.serialize(ia, 0); - BOOST_CHECK_EQUAL(2u, max(acc)); + BOOST_CHECK_EQUAL(2, max(acc)); } /////////////////////////////////////////////////////////////////////////////// diff --git a/libs/accumulators/test/mean.cpp b/libs/accumulators/test/mean.cpp index 29d4877690..f3e46861d1 100644 --- a/libs/accumulators/test/mean.cpp +++ b/libs/accumulators/test/mean.cpp @@ -4,7 +4,7 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/stats.hpp> #include <boost/accumulators/statistics/weighted_mean.hpp> diff --git a/libs/accumulators/test/median.cpp b/libs/accumulators/test/median.cpp index e348393295..7a850d37cc 100644 --- a/libs/accumulators/test/median.cpp +++ b/libs/accumulators/test/median.cpp @@ -4,7 +4,7 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/random.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/stats.hpp> diff --git a/libs/accumulators/test/moment.cpp b/libs/accumulators/test/moment.cpp index 44fa2a5318..819ad742d6 100644 --- a/libs/accumulators/test/moment.cpp +++ b/libs/accumulators/test/moment.cpp @@ -4,7 +4,7 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/stats.hpp> #include <boost/accumulators/statistics/moment.hpp> diff --git a/libs/accumulators/test/p_square_cumul_dist.cpp b/libs/accumulators/test/p_square_cumul_dist.cpp index 33e8109ab4..400f094ca5 100644 --- a/libs/accumulators/test/p_square_cumul_dist.cpp +++ b/libs/accumulators/test/p_square_cumul_dist.cpp @@ -8,7 +8,7 @@ #include <cmath> #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/numeric/functional/complex.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> diff --git a/libs/accumulators/test/p_square_quantile.cpp b/libs/accumulators/test/p_square_quantile.cpp index ba678237ae..178a65440f 100644 --- a/libs/accumulators/test/p_square_quantile.cpp +++ b/libs/accumulators/test/p_square_quantile.cpp @@ -7,7 +7,7 @@ #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/numeric/functional/complex.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> diff --git a/libs/accumulators/test/p_square_quantile_extended.cpp b/libs/accumulators/test/p_square_quantile_extended.cpp index debe33ce63..61189e9627 100644 --- a/libs/accumulators/test/p_square_quantile_extended.cpp +++ b/libs/accumulators/test/p_square_quantile_extended.cpp @@ -8,7 +8,7 @@ #include <iostream> #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/numeric/functional/complex.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> diff --git a/libs/accumulators/test/pot_quantile.cpp b/libs/accumulators/test/pot_quantile.cpp index 4e12ad615b..ad664d8914 100644 --- a/libs/accumulators/test/pot_quantile.cpp +++ b/libs/accumulators/test/pot_quantile.cpp @@ -11,7 +11,7 @@ #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics.hpp> #include <boost/accumulators/statistics/peaks_over_threshold.hpp> diff --git a/libs/accumulators/test/rolling_mean.cpp b/libs/accumulators/test/rolling_mean.cpp index f8037b4b07..2580735bc2 100644 --- a/libs/accumulators/test/rolling_mean.cpp +++ b/libs/accumulators/test/rolling_mean.cpp @@ -5,7 +5,7 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/mpl/assert.hpp> #include <boost/type_traits/is_same.hpp> #include <boost/accumulators/accumulators.hpp> diff --git a/libs/accumulators/test/rolling_moment.cpp b/libs/accumulators/test/rolling_moment.cpp index 30d0c88b58..f16cfb1336 100644 --- a/libs/accumulators/test/rolling_moment.cpp +++ b/libs/accumulators/test/rolling_moment.cpp @@ -5,7 +5,7 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/mpl/assert.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/stats.hpp> diff --git a/libs/accumulators/test/rolling_variance.cpp b/libs/accumulators/test/rolling_variance.cpp index d7f007595c..b378bc03ec 100644 --- a/libs/accumulators/test/rolling_variance.cpp +++ b/libs/accumulators/test/rolling_variance.cpp @@ -4,7 +4,7 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/mpl/assert.hpp> #include <boost/type_traits/is_same.hpp> #include <boost/accumulators/accumulators.hpp> diff --git a/libs/accumulators/test/skewness.cpp b/libs/accumulators/test/skewness.cpp index 8a82468839..be2119f0eb 100644 --- a/libs/accumulators/test/skewness.cpp +++ b/libs/accumulators/test/skewness.cpp @@ -7,7 +7,7 @@ #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/numeric/functional/complex.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> diff --git a/libs/accumulators/test/tail_mean.cpp b/libs/accumulators/test/tail_mean.cpp index 5132eb2471..51f4b5be10 100644 --- a/libs/accumulators/test/tail_mean.cpp +++ b/libs/accumulators/test/tail_mean.cpp @@ -7,7 +7,7 @@ #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/numeric/functional/complex.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> diff --git a/libs/accumulators/test/tail_quantile.cpp b/libs/accumulators/test/tail_quantile.cpp index 1f539d8540..fc379e19ba 100644 --- a/libs/accumulators/test/tail_quantile.cpp +++ b/libs/accumulators/test/tail_quantile.cpp @@ -7,7 +7,7 @@ #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/numeric/functional/complex.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> diff --git a/libs/accumulators/test/tail_variate_means.cpp b/libs/accumulators/test/tail_variate_means.cpp index 6d0031999b..b5f4d0bfb3 100644 --- a/libs/accumulators/test/tail_variate_means.cpp +++ b/libs/accumulators/test/tail_variate_means.cpp @@ -7,7 +7,7 @@ #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/numeric/functional/complex.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> diff --git a/libs/accumulators/test/valarray.cpp b/libs/accumulators/test/valarray.cpp index ca0842de8e..c81b8e786d 100644 --- a/libs/accumulators/test/valarray.cpp +++ b/libs/accumulators/test/valarray.cpp @@ -8,7 +8,7 @@ #include <boost/utility/enable_if.hpp> #include <boost/type_traits/is_floating_point.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> #include <boost/accumulators/statistics/stats.hpp> diff --git a/libs/accumulators/test/variance.cpp b/libs/accumulators/test/variance.cpp index 8c48713f59..dc5222f595 100644 --- a/libs/accumulators/test/variance.cpp +++ b/libs/accumulators/test/variance.cpp @@ -4,7 +4,7 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/stats.hpp> #include <boost/accumulators/statistics/variance.hpp> diff --git a/libs/accumulators/test/vector.cpp b/libs/accumulators/test/vector.cpp index d0dee2bf78..8bad80bc77 100644 --- a/libs/accumulators/test/vector.cpp +++ b/libs/accumulators/test/vector.cpp @@ -8,7 +8,7 @@ #include <boost/utility/enable_if.hpp> #include <boost/type_traits/is_floating_point.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/statistics/stats.hpp> diff --git a/libs/accumulators/test/weighted_covariance.cpp b/libs/accumulators/test/weighted_covariance.cpp index be4abf08a1..cbda3c13e7 100644 --- a/libs/accumulators/test/weighted_covariance.cpp +++ b/libs/accumulators/test/weighted_covariance.cpp @@ -6,7 +6,7 @@ #define BOOST_NUMERIC_FUNCTIONAL_STD_VECTOR_SUPPORT #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/variates/covariate.hpp> #include <boost/accumulators/statistics/stats.hpp> diff --git a/libs/accumulators/test/weighted_extended_p_square.cpp b/libs/accumulators/test/weighted_extended_p_square.cpp index e13b0e3b1b..1d84f45438 100644 --- a/libs/accumulators/test/weighted_extended_p_square.cpp +++ b/libs/accumulators/test/weighted_extended_p_square.cpp @@ -8,7 +8,7 @@ #include <iostream> #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/numeric/functional/complex.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> diff --git a/libs/accumulators/test/weighted_kurtosis.cpp b/libs/accumulators/test/weighted_kurtosis.cpp index 3cedd5a25f..90cf6bddb5 100644 --- a/libs/accumulators/test/weighted_kurtosis.cpp +++ b/libs/accumulators/test/weighted_kurtosis.cpp @@ -7,7 +7,7 @@ #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/numeric/functional/complex.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> diff --git a/libs/accumulators/test/weighted_mean.cpp b/libs/accumulators/test/weighted_mean.cpp index ae71e8dfa0..ed6a7aeaca 100644 --- a/libs/accumulators/test/weighted_mean.cpp +++ b/libs/accumulators/test/weighted_mean.cpp @@ -4,7 +4,7 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/stats.hpp> #include <boost/accumulators/statistics/weighted_mean.hpp> diff --git a/libs/accumulators/test/weighted_median.cpp b/libs/accumulators/test/weighted_median.cpp index 60321d1c00..a28ff9fdf9 100644 --- a/libs/accumulators/test/weighted_median.cpp +++ b/libs/accumulators/test/weighted_median.cpp @@ -4,7 +4,7 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/random.hpp> #include <boost/range/iterator_range.hpp> #include <boost/accumulators/accumulators.hpp> diff --git a/libs/accumulators/test/weighted_moment.cpp b/libs/accumulators/test/weighted_moment.cpp index 4aec80d3ec..b6e03a527f 100644 --- a/libs/accumulators/test/weighted_moment.cpp +++ b/libs/accumulators/test/weighted_moment.cpp @@ -4,7 +4,7 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/stats.hpp> #include <boost/accumulators/statistics/weighted_moment.hpp> diff --git a/libs/accumulators/test/weighted_p_square_cumul_dist.cpp b/libs/accumulators/test/weighted_p_square_cumul_dist.cpp index 3fb5b57f3c..7ef62d396c 100644 --- a/libs/accumulators/test/weighted_p_square_cumul_dist.cpp +++ b/libs/accumulators/test/weighted_p_square_cumul_dist.cpp @@ -8,7 +8,7 @@ #include <cmath> #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/numeric/functional/complex.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> diff --git a/libs/accumulators/test/weighted_p_square_quantile.cpp b/libs/accumulators/test/weighted_p_square_quantile.cpp index cf4fdeae16..ba7924adca 100644 --- a/libs/accumulators/test/weighted_p_square_quantile.cpp +++ b/libs/accumulators/test/weighted_p_square_quantile.cpp @@ -8,7 +8,7 @@ #include <cmath> // for std::exp() #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/numeric/functional/complex.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> diff --git a/libs/accumulators/test/weighted_pot_quantile.cpp b/libs/accumulators/test/weighted_pot_quantile.cpp index 28d424ac06..4035b66b92 100644 --- a/libs/accumulators/test/weighted_pot_quantile.cpp +++ b/libs/accumulators/test/weighted_pot_quantile.cpp @@ -11,7 +11,7 @@ #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics.hpp> diff --git a/libs/accumulators/test/weighted_skewness.cpp b/libs/accumulators/test/weighted_skewness.cpp index b5ca1aab7a..05e64aeb94 100644 --- a/libs/accumulators/test/weighted_skewness.cpp +++ b/libs/accumulators/test/weighted_skewness.cpp @@ -7,7 +7,7 @@ #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/numeric/functional/vector.hpp> #include <boost/accumulators/numeric/functional/complex.hpp> #include <boost/accumulators/numeric/functional/valarray.hpp> diff --git a/libs/accumulators/test/weighted_tail_mean.cpp b/libs/accumulators/test/weighted_tail_mean.cpp index d7a6aa3e32..dea16d6c04 100644 --- a/libs/accumulators/test/weighted_tail_mean.cpp +++ b/libs/accumulators/test/weighted_tail_mean.cpp @@ -11,7 +11,7 @@ #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics.hpp> #include <boost/accumulators/statistics/weighted_tail_mean.hpp> diff --git a/libs/accumulators/test/weighted_tail_quantile.cpp b/libs/accumulators/test/weighted_tail_quantile.cpp index 3393666171..55c2910957 100644 --- a/libs/accumulators/test/weighted_tail_quantile.cpp +++ b/libs/accumulators/test/weighted_tail_quantile.cpp @@ -11,7 +11,7 @@ #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics.hpp> #include <boost/accumulators/statistics/weighted_tail_quantile.hpp> diff --git a/libs/accumulators/test/weighted_tail_variate_means.cpp b/libs/accumulators/test/weighted_tail_variate_means.cpp index e2248a25ab..f1e5753d4f 100644 --- a/libs/accumulators/test/weighted_tail_variate_means.cpp +++ b/libs/accumulators/test/weighted_tail_variate_means.cpp @@ -11,7 +11,7 @@ #include <boost/random.hpp> #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/variates/covariate.hpp> #include <boost/accumulators/statistics.hpp> diff --git a/libs/accumulators/test/weighted_variance.cpp b/libs/accumulators/test/weighted_variance.cpp index f4b81d4792..11010d5b1d 100644 --- a/libs/accumulators/test/weighted_variance.cpp +++ b/libs/accumulators/test/weighted_variance.cpp @@ -4,7 +4,7 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> -#include <boost/test/floating_point_comparison.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <boost/random.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/stats.hpp> |