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:
@@ -172,6 +172,7 @@ test-suite special_fun :
|
|||||||
[ run git_issue_961.cpp ]
|
[ run git_issue_961.cpp ]
|
||||||
[ run git_issue_1006.cpp ]
|
[ run git_issue_1006.cpp ]
|
||||||
[ run git_issue_184.cpp ]
|
[ run git_issue_184.cpp ]
|
||||||
|
[ run git_issue_1137.cpp ]
|
||||||
[ run special_functions_test.cpp ../../test/build//boost_unit_test_framework ]
|
[ 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_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 ]
|
[ 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
19
test/git_issue_1137.cpp
Normal 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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user