mirror of
https://github.com/boostorg/rational.git
synced 2026-01-19 04:42:09 +00:00
34 lines
1.4 KiB
Plaintext
34 lines
1.4 KiB
Plaintext
#~ Copyright Rene Rivera 2008
|
|
#~ Copyright (C) 2025 James E. King III
|
|
#~ Distributed under 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)
|
|
|
|
import testing ;
|
|
import-search /boost/config/checks ;
|
|
import config : requires ;
|
|
|
|
project : requirements <library>/boost/rational//boost_rational ;
|
|
|
|
test-suite rational
|
|
: [ run rational_example.cpp ]
|
|
[ run rational_test.cpp
|
|
/boost/test//boost_unit_test_framework/<link>static ]
|
|
[ run multiprecision_test.cpp
|
|
/boost/multiprecision//boost_multiprecision
|
|
/boost/test//boost_unit_test_framework/<link>static
|
|
: : : [ requires cxx14_decltype_auto cxx14_generic_lambdas cxx14_return_type_deduction cxx14_variable_templates cxx14_constexpr ] ]
|
|
[ run constexpr_test.cpp : : : [ requires cxx11_constexpr ] ]
|
|
[ compile-fail expected_fail_01.cpp ]
|
|
[ compile-fail expected_fail_02.cpp ]
|
|
[ compile-fail expected_fail_03.cpp ]
|
|
[ compile-fail expected_fail_04.cpp ]
|
|
[ compile-fail expected_fail_05.cpp ]
|
|
[ compile-fail expected_fail_06.cpp ]
|
|
[ compile-fail expected_fail_07.cpp ]
|
|
[ compile-fail expected_fail_08.cpp ]
|
|
[ compile-fail expected_fail_09.cpp ]
|
|
[ compile-fail expected_fail_10.cpp ]
|
|
[ compile-fail expected_fail_11.cpp ]
|
|
[ compile expected_compile_12.cpp ]
|
|
;
|