From 7737659d4012f6fbbadd028f8f559539f455818f Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Fri, 2 Apr 2021 14:02:29 +0300 Subject: [PATCH] Add stats include tests --- test/compile_test/stats_anderson_darling_inc_test.cpp | 9 +++++++++ test/compile_test/stats_bivariate_inc_test.cpp | 9 +++++++++ test/compile_test/stats_linear_regression_inc_test.cpp | 9 +++++++++ test/compile_test/stats_ljung_box_inc_test.cpp | 9 +++++++++ test/compile_test/stats_runs_test_inc_test.cpp | 9 +++++++++ test/compile_test/stats_signal_statistics_inc_test.cpp | 9 +++++++++ test/compile_test/stats_t_test_inc_test.cpp | 9 +++++++++ test/compile_test/stats_univariate_inc_test.cpp | 9 +++++++++ test/compile_test/stats_z_test_inc_test.cpp | 9 +++++++++ test/compile_test/test_compile_result.hpp | 6 +----- 10 files changed, 82 insertions(+), 5 deletions(-) create mode 100644 test/compile_test/stats_anderson_darling_inc_test.cpp create mode 100644 test/compile_test/stats_bivariate_inc_test.cpp create mode 100644 test/compile_test/stats_linear_regression_inc_test.cpp create mode 100644 test/compile_test/stats_ljung_box_inc_test.cpp create mode 100644 test/compile_test/stats_runs_test_inc_test.cpp create mode 100644 test/compile_test/stats_signal_statistics_inc_test.cpp create mode 100644 test/compile_test/stats_t_test_inc_test.cpp create mode 100644 test/compile_test/stats_univariate_inc_test.cpp create mode 100644 test/compile_test/stats_z_test_inc_test.cpp diff --git a/test/compile_test/stats_anderson_darling_inc_test.cpp b/test/compile_test/stats_anderson_darling_inc_test.cpp new file mode 100644 index 000000000..b5c3888fe --- /dev/null +++ b/test/compile_test/stats_anderson_darling_inc_test.cpp @@ -0,0 +1,9 @@ +// Copyright Matt Borland 2021. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// +// Basic sanity check that header +// #includes all the files that it needs to. +// +#include diff --git a/test/compile_test/stats_bivariate_inc_test.cpp b/test/compile_test/stats_bivariate_inc_test.cpp new file mode 100644 index 000000000..603669f87 --- /dev/null +++ b/test/compile_test/stats_bivariate_inc_test.cpp @@ -0,0 +1,9 @@ +// Copyright Matt Borland 2021. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// +// Basic sanity check that header +// #includes all the files that it needs to. +// +#include diff --git a/test/compile_test/stats_linear_regression_inc_test.cpp b/test/compile_test/stats_linear_regression_inc_test.cpp new file mode 100644 index 000000000..312d3f3dd --- /dev/null +++ b/test/compile_test/stats_linear_regression_inc_test.cpp @@ -0,0 +1,9 @@ +// Copyright Matt Borland 2021. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// +// Basic sanity check that header +// #includes all the files that it needs to. +// +#include diff --git a/test/compile_test/stats_ljung_box_inc_test.cpp b/test/compile_test/stats_ljung_box_inc_test.cpp new file mode 100644 index 000000000..fa97f5833 --- /dev/null +++ b/test/compile_test/stats_ljung_box_inc_test.cpp @@ -0,0 +1,9 @@ +// Copyright Matt Borland 2021. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// +// Basic sanity check that header +// #includes all the files that it needs to. +// +#include diff --git a/test/compile_test/stats_runs_test_inc_test.cpp b/test/compile_test/stats_runs_test_inc_test.cpp new file mode 100644 index 000000000..668815405 --- /dev/null +++ b/test/compile_test/stats_runs_test_inc_test.cpp @@ -0,0 +1,9 @@ +// Copyright Matt Borland 2021. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// +// Basic sanity check that header +// #includes all the files that it needs to. +// +#include diff --git a/test/compile_test/stats_signal_statistics_inc_test.cpp b/test/compile_test/stats_signal_statistics_inc_test.cpp new file mode 100644 index 000000000..dbcbe8a63 --- /dev/null +++ b/test/compile_test/stats_signal_statistics_inc_test.cpp @@ -0,0 +1,9 @@ +// Copyright Matt Borland 2021. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// +// Basic sanity check that header +// #includes all the files that it needs to. +// +#include diff --git a/test/compile_test/stats_t_test_inc_test.cpp b/test/compile_test/stats_t_test_inc_test.cpp new file mode 100644 index 000000000..c6b90a262 --- /dev/null +++ b/test/compile_test/stats_t_test_inc_test.cpp @@ -0,0 +1,9 @@ +// Copyright Matt Borland 2021. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// +// Basic sanity check that header +// #includes all the files that it needs to. +// +#include diff --git a/test/compile_test/stats_univariate_inc_test.cpp b/test/compile_test/stats_univariate_inc_test.cpp new file mode 100644 index 000000000..9cc602acb --- /dev/null +++ b/test/compile_test/stats_univariate_inc_test.cpp @@ -0,0 +1,9 @@ +// Copyright Matt Borland 2021. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// +// Basic sanity check that header +// #includes all the files that it needs to. +// +#include diff --git a/test/compile_test/stats_z_test_inc_test.cpp b/test/compile_test/stats_z_test_inc_test.cpp new file mode 100644 index 000000000..fe290eac2 --- /dev/null +++ b/test/compile_test/stats_z_test_inc_test.cpp @@ -0,0 +1,9 @@ +// Copyright Matt Borland 2021. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// +// Basic sanity check that header +// #includes all the files that it needs to. +// +#include diff --git a/test/compile_test/test_compile_result.hpp b/test/compile_test/test_compile_result.hpp index 0bb419f2c..477855271 100644 --- a/test/compile_test/test_compile_result.hpp +++ b/test/compile_test/test_compile_result.hpp @@ -23,9 +23,7 @@ inline void check_result_imp(double, double){} inline void check_result_imp(long double, long double){} inline void check_result_imp(int, int){} inline void check_result_imp(long, long){} -#ifdef BOOST_HAS_LONG_LONG -inline void check_result_imp(boost::long_long_type, boost::long_long_type){} -#endif +inline void check_result_imp(long long, long long){} inline void check_result_imp(bool, bool){} // @@ -78,9 +76,7 @@ union max_align_type long l; double d; long double ld; -#ifdef BOOST_HAS_LONG_LONG long long ll; -#endif }; template