Searched refs:CHECK_CLOSE (Results 1 – 5 of 5) sorted by relevance
/third_party/boost/libs/test/test/writing-test-ts/ |
D | fp-comparisons-test.cpp | 39 #define CHECK_CLOSE( first, second, e ) \ in BOOST_AUTO_TEST_CASE_TEMPLATE() macro 57 CHECK_CLOSE( 1, 1, 0 ); in BOOST_AUTO_TEST_CASE_TEMPLATE() 59 CHECK_CLOSE( 0, 1e-20, 1e-5 ); in BOOST_AUTO_TEST_CASE_TEMPLATE() 60 CHECK_CLOSE( 0, 1e-30, 1e-5 ); in BOOST_AUTO_TEST_CASE_TEMPLATE() 61 CHECK_CLOSE( 0, -1e-10, 0.1 ); in BOOST_AUTO_TEST_CASE_TEMPLATE() 64 CHECK_CLOSE( 0.123456, 0.123457, 1e-3 ); in BOOST_AUTO_TEST_CASE_TEMPLATE() 68 CHECK_CLOSE( 1.23456e28, 1.23457e28, 1e-3 ); in BOOST_AUTO_TEST_CASE_TEMPLATE() 70 CHECK_CLOSE( 1.23456e-10, 1.23457e-10, 1e-3 ); in BOOST_AUTO_TEST_CASE_TEMPLATE() 72 CHECK_CLOSE( 1.112e-10, 1.111e-10, 0.1 ); in BOOST_AUTO_TEST_CASE_TEMPLATE() 74 CHECK_CLOSE( 1, 1.0001, 1.1e-2 ); in BOOST_AUTO_TEST_CASE_TEMPLATE() [all …]
|
/third_party/boost/libs/yap/example/ |
D | autodiff_example.cpp | 19 #define CHECK_CLOSE(A,B) do { BOOST_CHECK_CLOSE(A,B,Epsilon); } while(0) macro 311 CHECK_CLOSE(grad[i],x1g[i]); in BOOST_AUTO_TEST_CASE() 316 CHECK_CLOSE(val1,eval); in BOOST_AUTO_TEST_CASE() 317 CHECK_CLOSE(val2,eval); in BOOST_AUTO_TEST_CASE() 339 CHECK_CLOSE(grad[0],x1g); in BOOST_AUTO_TEST_CASE() 356 CHECK_CLOSE(grad[0],1); in BOOST_AUTO_TEST_CASE() 357 CHECK_CLOSE(val,-2); in BOOST_AUTO_TEST_CASE() 371 CHECK_CLOSE(val,-10); in BOOST_AUTO_TEST_CASE() 389 CHECK_CLOSE(grad[0],-1); in BOOST_AUTO_TEST_CASE() 396 CHECK_CLOSE(grad[0],-1); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/boost/boost/test/tools/detail/ |
D | fwd.hpp | 62 CHECK_CLOSE, enumerator
|
/third_party/boost/boost/test/tools/old/ |
D | interface.hpp | 207 …::boost::test_tools::check_is_close_t(), "", WARN, CHECK_CLOSE, (L)(R)(::boost::math::fpc::percent… 209 …::boost::test_tools::check_is_close_t(), "", CHECK, CHECK_CLOSE, (L)(R)(::boost::math::fpc::percen… 211 …::boost::test_tools::check_is_close_t(), "", REQUIRE, CHECK_CLOSE, (L)(R)(::boost::math::fpc::perc…
|
/third_party/boost/boost/test/impl/ |
D | test_tools.ipp | 207 case CHECK_CLOSE: 221 if( ct == CHECK_CLOSE )
|