0ccc0230ab
* Do not create rational from array type. * Fix build on older compilers.
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
#~ Copyright Rene Rivera 2008
|
|
#~ 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 ../../config/checks/config : requires ;
|
|
|
|
test-suite rational
|
|
: [ run rational_example.cpp ]
|
|
[ run rational_test.cpp
|
|
/boost/test//boost_unit_test_framework/<link>static ]
|
|
[ 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 ]
|
|
;
|