Searched refs:percent_tolerance (Results 1 – 12 of 12) sorted by relevance
/third_party/boost/libs/test/doc/examples/ |
D | decorator_13.run-fail.cpp | 34 * utf::tolerance(fpc::percent_tolerance(0.05))) 41 * utf::tolerance(fpc::percent_tolerance(0.5)))
|
/third_party/boost/libs/test/test/writing-test-ts/ |
D | fp-comparisons-test.cpp | 265 ::fpc::close_at_tolerance<double> pred( ::fpc::percent_tolerance( epsilon ), ::fpc::FPC_WEAK ); in BOOST_AUTO_TEST_CASE() 269 BOOST_TEST( !check_is_close( fp1, fp2, ::fpc::percent_tolerance( epsilon ) ) ); in BOOST_AUTO_TEST_CASE() 276 …BOOST_CHECK_PREDICATE( ::fpc::close_at_tolerance<double>( ::fpc::percent_tolerance( epsilon ), ::f… in BOOST_AUTO_TEST_CASE() 278 … BOOST_TEST( !::fpc::close_at_tolerance<double>( ::fpc::percent_tolerance( epsilon ) )(fp1, fp2) ); in BOOST_AUTO_TEST_CASE()
|
D | fp-multiprecision-comparison-test.cpp | 117 BOOST_TEST( a == b, tt::tolerance( tt::fpc::percent_tolerance( eps * 100 ) ) ); in BOOST_AUTO_TEST_CASE() 145 …BOOST_TEST( a == b, tt::tolerance( tt::fpc::percent_tolerance<cpp_dec_float_50_et>( eps * 100 ) ) … in BOOST_AUTO_TEST_CASE()
|
D | fp-relational-operator.cpp | 176 *utf::tolerance<float>(boost::math::fpc::percent_tolerance<float>(0.01))
|
D | test_tools-test.cpp | 788 BOOST_TEST( d2 <= d1, tt::tolerance( tt::fpc::percent_tolerance( 1e-5 ) ) ); in TEST_CASE()
|
/third_party/boost/libs/test/example/ |
D | unit_test_example_10.cpp | 14 using boost::math::fpc::percent_tolerance; 111 BOOST_REQUIRE_PREDICATE( close_at_tolerance<double>( percent_tolerance( 1e-9 ) ), in test_deposit()
|
/third_party/boost/boost/test/tools/old/ |
D | interface.hpp | 207 …ools::check_is_close_t(), "", WARN, CHECK_CLOSE, (L)(R)(::boost::math::fpc::percent_tolerance(T)) ) 209 …ols::check_is_close_t(), "", CHECK, CHECK_CLOSE, (L)(R)(::boost::math::fpc::percent_tolerance(T)) ) 211 …s::check_is_close_t(), "", REQUIRE, CHECK_CLOSE, (L)(R)(::boost::math::fpc::percent_tolerance(T)) )
|
/third_party/boost/libs/geometry/test/formulas/ |
D | test_formula.hpp | 29 …_tools::check_is_close_t(), M, CHECK, CHECK_MSG, (L)(R)(::boost::math::fpc::percent_tolerance(T)) )
|
/third_party/boost/boost/test/tools/ |
D | floating_point_comparison.hpp | 126 percent_tolerance( FPT v ) in percent_tolerance() function
|
/third_party/boost/libs/geometry/test/srs/ |
D | projections.cpp | 47 …bool ok = ::boost::test_tools::check_is_close_t()(v, ve, ::boost::math::fpc::percent_tolerance(0.0… in check()
|
/third_party/boost/libs/test/doc/testing_tools/ |
D | testing_floating_points.qbk | 41 * boost::unit_test::tolerance( boost::test_tools::fpc::percent_tolerance(2.0) ) 49 boost::test_tools::tolerance( boost::test_tools::fpc::percent_tolerance(2.0) )
|
D | testing_tools_reference.qbk | 126 The variant with `percent_tolerance` uses value ``eps / 100`` as tolerance.
|