2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Add test set

This commit is contained in:
Matt Borland
2024-05-22 08:59:04 +02:00
parent 9b3b9beec5
commit 7d85d73c83
2 changed files with 20 additions and 0 deletions

View File

@@ -172,6 +172,7 @@ test-suite special_fun :
[ run git_issue_961.cpp ]
[ run git_issue_1006.cpp ]
[ run git_issue_184.cpp ]
[ run git_issue_1137.cpp ]
[ run special_functions_test.cpp ../../test/build//boost_unit_test_framework ]
[ run test_airy.cpp test_instances//test_instances pch_light ../../test/build//boost_unit_test_framework ]
[ run test_bessel_j.cpp test_instances//test_instances pch_light ../../test/build//boost_unit_test_framework ]

19
test/git_issue_1137.cpp Normal file
View File

@@ -0,0 +1,19 @@
// Copyright Matt Borland 2024.
// 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)
//
// See: https://github.com/boostorg/math/issues/1137
#define BOOST_MATH_POLY_METHOD 0
#define BOOST_MATH_RATIONAL_METHOD 0
#include <boost/math/tools/config.hpp>
int main()
{
static_assert(BOOST_MATH_POLY_METHOD == 0, "User defined as 0");
static_assert(BOOST_MATH_RATIONAL_METHOD == 0, "User defined as 0");
return 0;
}