/third_party/boost/libs/math/test/compile_test/ |
D | tr1_incl_test.cpp | 20 check_result<float>(boost::math::tr1::assoc_laguerre(ui, ui, f)); in compile_and_link_test() 21 check_result<float>(boost::math::tr1::assoc_laguerref(ui, ui, f)); in compile_and_link_test() 22 check_result<double>(boost::math::tr1::assoc_laguerre(ui, ui, d)); in compile_and_link_test() 23 check_result<long double>(boost::math::tr1::assoc_laguerre(ui, ui, l)); in compile_and_link_test() 24 check_result<long double>(boost::math::tr1::assoc_laguerrel(ui, ui, l)); in compile_and_link_test() 25 check_result<double>(boost::math::tr1::assoc_laguerre(ui, ui, i)); in compile_and_link_test() 26 check_result<double>(boost::math::tr1::assoc_laguerre(ui, ui, ui)); in compile_and_link_test() 28 check_result<float>(boost::math::tr1::assoc_legendre(ui, ui, f)); in compile_and_link_test() 29 check_result<float>(boost::math::tr1::assoc_legendref(ui, ui, f)); in compile_and_link_test() 30 check_result<double>(boost::math::tr1::assoc_legendre(ui, ui, d)); in compile_and_link_test() [all …]
|
D | test_compile_result.hpp | 66 inline void check_result(T2) in check_result() function 97 check_result<value_type>(cdf(dist, x)); in constraints() 98 check_result<value_type>(cdf(complement(dist, x))); in constraints() 99 check_result<value_type>(pdf(dist, x)); in constraints() 100 check_result<value_type>(quantile(dist, x)); in constraints() 101 check_result<value_type>(quantile(complement(dist, x))); in constraints() 102 check_result<value_type>(mean(dist)); in constraints() 103 check_result<value_type>(mode(dist)); in constraints() 104 check_result<value_type>(standard_deviation(dist)); in constraints() 105 check_result<value_type>(variance(dist)); in constraints() [all …]
|
D | sf_jacobi_incl_test.cpp | 18 …check_result<float>(boost::math::jacobi_elliptic<float>(f, f, static_cast<float*>(0), static_cast<… in compile_and_link_test() 19 …check_result<double>(boost::math::jacobi_elliptic<double>(d, d, static_cast<double*>(0), static_ca… in compile_and_link_test() 21 …check_result<long double>(boost::math::jacobi_elliptic<long double>(l, l, static_cast<long double*… in compile_and_link_test() 24 check_result<float>(boost::math::jacobi_sn<float>(f, f)); in compile_and_link_test() 25 check_result<double>(boost::math::jacobi_sn<double>(d, d)); in compile_and_link_test() 27 check_result<long double>(boost::math::jacobi_sn<long double>(l, l)); in compile_and_link_test() 30 check_result<float>(boost::math::jacobi_cn<float>(f, f)); in compile_and_link_test() 31 check_result<double>(boost::math::jacobi_cn<double>(d, d)); in compile_and_link_test() 33 check_result<long double>(boost::math::jacobi_cn<long double>(l, l)); in compile_and_link_test() 36 check_result<float>(boost::math::jacobi_dn<float>(f, f)); in compile_and_link_test() [all …]
|
D | sf_gamma_incl_test.cpp | 18 check_result<float>(boost::math::tgamma<float>(f)); in compile_and_link_test() 19 check_result<double>(boost::math::tgamma<double>(d)); in compile_and_link_test() 21 check_result<long double>(boost::math::tgamma<long double>(l)); in compile_and_link_test() 24 check_result<float>(boost::math::lgamma<float>(f)); in compile_and_link_test() 25 check_result<double>(boost::math::lgamma<double>(d)); in compile_and_link_test() 27 check_result<long double>(boost::math::lgamma<long double>(l)); in compile_and_link_test() 30 check_result<float>(boost::math::gamma_p<float>(f, f)); in compile_and_link_test() 31 check_result<double>(boost::math::gamma_p<double>(d, d)); in compile_and_link_test() 33 check_result<long double>(boost::math::gamma_p<long double>(l, l)); in compile_and_link_test() 36 check_result<float>(boost::math::gamma_q<float>(f, f)); in compile_and_link_test() [all …]
|
D | sf_bessel_incl_test.cpp | 18 check_result<float>(boost::math::cyl_bessel_j<float>(f, f)); in compile_and_link_test() 19 check_result<double>(boost::math::cyl_bessel_j<double>(d, d)); in compile_and_link_test() 21 check_result<long double>(boost::math::cyl_bessel_j<long double>(l, l)); in compile_and_link_test() 24 check_result<float>(boost::math::cyl_neumann<float>(f, f)); in compile_and_link_test() 25 check_result<double>(boost::math::cyl_neumann<double>(d, d)); in compile_and_link_test() 27 check_result<long double>(boost::math::cyl_neumann<long double>(l, l)); in compile_and_link_test() 30 check_result<float>(boost::math::cyl_bessel_i<float>(f, f)); in compile_and_link_test() 31 check_result<double>(boost::math::cyl_bessel_i<double>(d, d)); in compile_and_link_test() 33 check_result<long double>(boost::math::cyl_bessel_i<long double>(l, l)); in compile_and_link_test() 36 check_result<float>(boost::math::cyl_bessel_k<float>(f, f)); in compile_and_link_test() [all …]
|
D | sf_bessel_deriv_incl_test.cpp | 18 check_result<float>(boost::math::cyl_bessel_j_prime<float>(f, f)); in compile_and_link_test() 19 check_result<double>(boost::math::cyl_bessel_j_prime<double>(d, d)); in compile_and_link_test() 21 check_result<long double>(boost::math::cyl_bessel_j_prime<long double>(l, l)); in compile_and_link_test() 24 check_result<float>(boost::math::cyl_neumann_prime<float>(f, f)); in compile_and_link_test() 25 check_result<double>(boost::math::cyl_neumann_prime<double>(d, d)); in compile_and_link_test() 27 check_result<long double>(boost::math::cyl_neumann_prime<long double>(l, l)); in compile_and_link_test() 30 check_result<float>(boost::math::cyl_bessel_i_prime<float>(f, f)); in compile_and_link_test() 31 check_result<double>(boost::math::cyl_bessel_i_prime<double>(d, d)); in compile_and_link_test() 33 check_result<long double>(boost::math::cyl_bessel_i_prime<long double>(l, l)); in compile_and_link_test() 36 check_result<float>(boost::math::cyl_bessel_k_prime<float>(f, f)); in compile_and_link_test() [all …]
|
D | sf_factorials_incl_test.cpp | 18 check_result<float>(boost::math::factorial<float>(u)); in compile_and_link_test() 19 check_result<double>(boost::math::factorial<double>(u)); in compile_and_link_test() 21 check_result<long double>(boost::math::factorial<long double>(u)); in compile_and_link_test() 24 check_result<float>(boost::math::double_factorial<float>(u)); in compile_and_link_test() 25 check_result<double>(boost::math::double_factorial<double>(u)); in compile_and_link_test() 27 check_result<long double>(boost::math::double_factorial<long double>(u)); in compile_and_link_test() 30 check_result<float>(boost::math::rising_factorial<float>(f, i)); in compile_and_link_test() 31 check_result<double>(boost::math::rising_factorial<double>(d, i)); in compile_and_link_test() 33 check_result<long double>(boost::math::rising_factorial<long double>(l, i)); in compile_and_link_test() 36 check_result<float>(boost::math::falling_factorial<float>(f, u)); in compile_and_link_test() [all …]
|
D | sf_next_incl_test.cpp | 18 check_result<float>(boost::math::nextafter<float>(f, f)); in compile_and_link_test() 19 check_result<double>(boost::math::nextafter<double>(d, d)); in compile_and_link_test() 21 check_result<long double>(boost::math::nextafter<long double>(l, l)); in compile_and_link_test() 24 check_result<float>(boost::math::float_next<float>(f)); in compile_and_link_test() 25 check_result<double>(boost::math::float_next<double>(d)); in compile_and_link_test() 27 check_result<long double>(boost::math::float_next<long double>(l)); in compile_and_link_test() 30 check_result<float>(boost::math::float_prior<float>(f)); in compile_and_link_test() 31 check_result<double>(boost::math::float_prior<double>(d)); in compile_and_link_test() 33 check_result<long double>(boost::math::float_prior<long double>(l)); in compile_and_link_test() 36 check_result<float>(boost::math::float_distance<float>(f, f)); in compile_and_link_test() [all …]
|
D | sf_erf_incl_test.cpp | 18 check_result<float>(boost::math::erf<float>(f)); in compile_and_link_test() 19 check_result<double>(boost::math::erf<double>(d)); in compile_and_link_test() 21 check_result<long double>(boost::math::erf<long double>(l)); in compile_and_link_test() 24 check_result<float>(boost::math::erfc<float>(f)); in compile_and_link_test() 25 check_result<double>(boost::math::erfc<double>(d)); in compile_and_link_test() 27 check_result<long double>(boost::math::erfc<long double>(l)); in compile_and_link_test() 30 check_result<float>(boost::math::erf_inv<float>(f)); in compile_and_link_test() 31 check_result<double>(boost::math::erf_inv<double>(d)); in compile_and_link_test() 33 check_result<long double>(boost::math::erf_inv<long double>(l)); in compile_and_link_test() 36 check_result<float>(boost::math::erfc_inv<float>(f)); in compile_and_link_test() [all …]
|
D | sf_airy_incl_test.cpp | 18 check_result<float>(boost::math::airy_ai<float>(f)); in compile_and_link_test() 19 check_result<double>(boost::math::airy_ai<double>(d)); in compile_and_link_test() 21 check_result<long double>(boost::math::airy_ai<long double>(l)); in compile_and_link_test() 24 check_result<float>(boost::math::airy_bi<float>(f)); in compile_and_link_test() 25 check_result<double>(boost::math::airy_bi<double>(d)); in compile_and_link_test() 27 check_result<long double>(boost::math::airy_bi<long double>(l)); in compile_and_link_test() 30 check_result<float>(boost::math::airy_ai_prime<float>(f)); in compile_and_link_test() 31 check_result<double>(boost::math::airy_ai_prime<double>(d)); in compile_and_link_test() 33 check_result<long double>(boost::math::airy_ai_prime<long double>(l)); in compile_and_link_test() 36 check_result<float>(boost::math::airy_bi_prime<float>(f)); in compile_and_link_test() [all …]
|
D | sf_trunc_incl_test.cpp | 18 check_result<float>(boost::math::trunc<float>(f)); in compile_and_link_test() 19 check_result<double>(boost::math::trunc<double>(d)); in compile_and_link_test() 21 check_result<long double>(boost::math::trunc<long double>(l)); in compile_and_link_test() 23 check_result<int>(boost::math::itrunc<float>(f)); in compile_and_link_test() 24 check_result<int>(boost::math::itrunc<double>(d)); in compile_and_link_test() 26 check_result<int>(boost::math::itrunc<long double>(l)); in compile_and_link_test() 28 check_result<long>(boost::math::ltrunc<float>(f)); in compile_and_link_test() 29 check_result<long>(boost::math::ltrunc<double>(d)); in compile_and_link_test() 31 check_result<long>(boost::math::ltrunc<long double>(l)); in compile_and_link_test() 34 check_result<boost::long_long_type>(boost::math::lltrunc<float>(f)); in compile_and_link_test() [all …]
|
D | sf_round_incl_test.cpp | 18 check_result<float>(boost::math::round<float>(f)); in compile_and_link_test() 19 check_result<double>(boost::math::round<double>(d)); in compile_and_link_test() 21 check_result<long double>(boost::math::round<long double>(l)); in compile_and_link_test() 23 check_result<int>(boost::math::iround<float>(f)); in compile_and_link_test() 24 check_result<int>(boost::math::iround<double>(d)); in compile_and_link_test() 26 check_result<int>(boost::math::iround<long double>(l)); in compile_and_link_test() 28 check_result<long>(boost::math::lround<float>(f)); in compile_and_link_test() 29 check_result<long>(boost::math::lround<double>(d)); in compile_and_link_test() 31 check_result<long>(boost::math::lround<long double>(l)); in compile_and_link_test() 34 check_result<boost::long_long_type>(boost::math::llround<float>(f)); in compile_and_link_test() [all …]
|
D | sf_fpclassify_incl_test.cpp | 18 check_result<int>(boost::math::fpclassify BOOST_NO_MACRO_EXPAND<float>(f)); in compile_and_link_test() 19 check_result<int>(boost::math::fpclassify BOOST_NO_MACRO_EXPAND<double>(d)); in compile_and_link_test() 21 check_result<int>(boost::math::fpclassify BOOST_NO_MACRO_EXPAND<long double>(l)); in compile_and_link_test() 24 check_result<bool>(boost::math::isfinite BOOST_NO_MACRO_EXPAND<float>(f)); in compile_and_link_test() 25 check_result<bool>(boost::math::isfinite BOOST_NO_MACRO_EXPAND<double>(d)); in compile_and_link_test() 27 check_result<bool>(boost::math::isfinite BOOST_NO_MACRO_EXPAND<long double>(l)); in compile_and_link_test() 30 check_result<bool>(boost::math::isinf BOOST_NO_MACRO_EXPAND<float>(f)); in compile_and_link_test() 31 check_result<bool>(boost::math::isinf BOOST_NO_MACRO_EXPAND<double>(d)); in compile_and_link_test() 33 check_result<bool>(boost::math::isinf BOOST_NO_MACRO_EXPAND<long double>(l)); in compile_and_link_test() 36 check_result<bool>(boost::math::isnormal BOOST_NO_MACRO_EXPAND<float>(f)); in compile_and_link_test() [all …]
|
D | sf_legendre_incl_test.cpp | 18 check_result<float>(boost::math::legendre_p<float>(i, f)); in compile_and_link_test() 19 check_result<double>(boost::math::legendre_p<double>(i, d)); in compile_and_link_test() 21 check_result<long double>(boost::math::legendre_p<long double>(i, l)); in compile_and_link_test() 23 check_result<float>(boost::math::legendre_p_prime<float>(i, f)); in compile_and_link_test() 24 check_result<double>(boost::math::legendre_p_prime<double>(i, d)); in compile_and_link_test() 26 check_result<long double>(boost::math::legendre_p_prime<long double>(i, l)); in compile_and_link_test() 29 check_result<float>(boost::math::legendre_p<float>(i, i, f)); in compile_and_link_test() 30 check_result<double>(boost::math::legendre_p<double>(i, i, d)); in compile_and_link_test() 32 check_result<long double>(boost::math::legendre_p<long double>(i, i, l)); in compile_and_link_test() 35 check_result<float>(boost::math::legendre_q<float>(u, f)); in compile_and_link_test() [all …]
|
D | sf_beta_incl_test.cpp | 18 check_result<float>(boost::math::beta<float, float>(f, f)); in compile_and_link_test() 19 check_result<double>(boost::math::beta<double>(d, d)); in compile_and_link_test() 21 check_result<long double>(boost::math::beta<long double>(l, l)); in compile_and_link_test() 24 check_result<float>(boost::math::ibeta<float>(f, f, f)); in compile_and_link_test() 25 check_result<double>(boost::math::ibeta<double>(d, d, d)); in compile_and_link_test() 27 check_result<long double>(boost::math::ibeta<long double>(l, l, l)); in compile_and_link_test() 30 check_result<float>(boost::math::ibeta_inv<float>(f, f, f)); in compile_and_link_test() 31 check_result<double>(boost::math::ibeta_inv<double>(d, d, d)); in compile_and_link_test() 33 check_result<long double>(boost::math::ibeta_inv<long double>(l, l, l)); in compile_and_link_test() 36 check_result<float>(boost::math::ibeta_inva<float>(f, f, f)); in compile_and_link_test() [all …]
|
D | sf_modf_incl_test.cpp | 28 check_result<float>(boost::math::modf(f, &ff)); in compile_and_link_test() 29 check_result<double>(boost::math::modf(d, &dd)); in compile_and_link_test() 31 check_result<long double>(boost::math::modf(l, &lldd)); in compile_and_link_test() 33 check_result<float>(boost::math::modf(f, &ii)); in compile_and_link_test() 34 check_result<double>(boost::math::modf(d, &ii)); in compile_and_link_test() 36 check_result<long double>(boost::math::modf(l, &ii)); in compile_and_link_test() 38 check_result<float>(boost::math::modf(f, &ll)); in compile_and_link_test() 39 check_result<double>(boost::math::modf(d, &ll)); in compile_and_link_test() 41 check_result<long double>(boost::math::modf(l, &ll)); in compile_and_link_test() 44 check_result<float>(boost::math::modf(f, &llll)); in compile_and_link_test() [all …]
|
D | sf_hankel_incl_test.cpp | 22 check_result<std::complex<float> >(boost::math::cyl_hankel_1<float>(f, f)); in compile_and_link_test() 23 check_result<std::complex<double> >(boost::math::cyl_hankel_1<double>(d, d)); in compile_and_link_test() 25 check_result<std::complex<long double> >(boost::math::cyl_hankel_1<long double>(l, l)); in compile_and_link_test() 28 check_result<std::complex<float> >(boost::math::cyl_hankel_2<float>(f, f)); in compile_and_link_test() 29 check_result<std::complex<double> >(boost::math::cyl_hankel_2<double>(d, d)); in compile_and_link_test() 31 check_result<std::complex<long double> >(boost::math::cyl_hankel_2<long double>(l, l)); in compile_and_link_test() 34 check_result<std::complex<float> >(boost::math::sph_hankel_1<float>(f, f)); in compile_and_link_test() 35 check_result<std::complex<double> >(boost::math::sph_hankel_1<double>(d, d)); in compile_and_link_test() 37 check_result<std::complex<long double> >(boost::math::sph_hankel_1<long double>(l, l)); in compile_and_link_test() 40 check_result<std::complex<float> >(boost::math::sph_hankel_2<float>(f, f)); in compile_and_link_test() [all …]
|
D | sf_sign_incl_test.cpp | 18 check_result<int>(boost::math::sign<float>(f)); in compile_and_link_test() 19 check_result<int>(boost::math::sign<double>(d)); in compile_and_link_test() 21 check_result<int>(boost::math::sign<long double>(l)); in compile_and_link_test() 24 check_result<int>(boost::math::signbit<float>(f)); in compile_and_link_test() 25 check_result<int>(boost::math::signbit<double>(d)); in compile_and_link_test() 27 check_result<int>(boost::math::signbit<long double>(l)); in compile_and_link_test() 30 check_result<float>(boost::math::copysign<float>(f, f)); in compile_and_link_test() 31 check_result<double>(boost::math::copysign<double>(d, d)); in compile_and_link_test() 33 check_result<long double>(boost::math::copysign<long double>(l, l)); in compile_and_link_test()
|
D | dist_find_scale_incl_test.cpp | 46 …check_result<float>(boost::math::find_scale<test_distribution<float> >(f, f, f, boost::math::polic… in compile_and_link_test() 47 …check_result<double>(boost::math::find_scale<test_distribution<double> >(d, d, d, boost::math::pol… in compile_and_link_test() 48 …check_result<long double>(boost::math::find_scale<test_distribution<long double> >(l, l, l, boost:… in compile_and_link_test() 50 check_result<float>(boost::math::find_scale<test_distribution<float> >(f, f, f)); in compile_and_link_test() 51 check_result<double>(boost::math::find_scale<test_distribution<double> >(d, d, d)); in compile_and_link_test() 52 check_result<long double>(boost::math::find_scale<test_distribution<long double> >(l, l, l)); in compile_and_link_test() 54 …check_result<float>(boost::math::find_scale<test_distribution<float> >(boost::math::complement(f, … in compile_and_link_test() 55 …check_result<double>(boost::math::find_scale<test_distribution<double> >(boost::math::complement(d… in compile_and_link_test() 56 …check_result<long double>(boost::math::find_scale<test_distribution<long double> >(boost::math::co… in compile_and_link_test() 58 …check_result<float>(boost::math::find_scale<test_distribution<float> >(boost::math::complement(f, … in compile_and_link_test() [all …]
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | generator-return.js | 16 function check_result(result, value, done) function 27 check_result(f.return(4), 4, true) 28 check_result(f.next(), undefined, true) 31 check_result(f.next(), "x", false) 32 check_result(f.return(10), 10, true) 33 check_result(f.next(), undefined, true) 36 check_result(f.next(), "b", false) 37 check_result(f.next(), "a: undefined", true) 38 check_result(f.next(), undefined, true) 55 check_result(f.return("ret"), "ret", true) [all …]
|
D | generator.js | 18 function check_result(result, value, done) function 46 check_result(g.next(20), 10, false) 47 check_result(g.next(21), 11, false) 48 check_result(g.next(22), 3.25, true) 49 check_result(g.next(23), undefined, true) 56 check_result(g.next(20), 10, false) 72 check_result(f.next(0), "sx", false) 73 check_result(f.next(1), "sy", false) 74 check_result(f.next(2), "sz", false) 75 check_result(f.next(3), undefined, true) [all …]
|
D | generator-initializer.js | 42 function check_result(result, value, done) function 74 check_result(f.next(), 1, false) 75 check_result(f.next(), 2, true) 78 check_result(f.next(), 3, false) 79 check_result(f.next(), 4, true) 82 check_result(f.next(), 5, false) 83 check_result(f.next(), 6, true) 86 check_result(f.next(), 7, false) 87 check_result(f.next(), 8, true) 122 check_result(f.next(), 1, false) [all …]
|
D | generator-yield-iterator.js | 16 function check_result(result, value, done) function 29 check_result(g.next(), 1, false) 30 check_result(g.next(), 2, false) 31 check_result(g.next(), 3, false) 32 check_result(g.next(), 4, false) 33 check_result(g.next(), 5, false) 34 check_result(g.next(), undefined, true) 67 check_result(g.next(), 5, false) 68 check_result(g.return(13), 13, true) 100 check_result(g.next(-2), 2, false) [all …]
|
D | generator-throw.js | 16 function check_result(result, value, done) function 38 check_result(f.next(), undefined, true) 41 check_result(f.next(), "x", false) 43 check_result(f.next(), undefined, true) 46 check_result(f.next(), "b", false) 47 check_result(f.next(), "a: undefined", true) 48 check_result(f.next(), undefined, true) 64 check_result(f.next(), undefined, true) 67 check_result(f.next(), "x", false) 68 check_result(f.throw("throw"), "z", false) [all …]
|
/third_party/python/Lib/idlelib/idle_test/ |
D | test_pyshell.py | 72 def check_result(self, text, expected): member in PyShellRemoveLastNewlineAndSurroundingWhitespaceTest 114 self.check_result('\n\n', '\n') 115 self.check_result('\n' * 5, '\n' * 4) 116 self.check_result('\n' * 5 + '\t', '\n' * 4) 117 self.check_result('\n' * 20, '\n' * 19) 118 self.check_result('\n' * 20 + ' ', '\n' * 19) 119 self.check_result(' \n \n ', ' \n') 120 self.check_result(' \n\n ', ' \n') 121 self.check_result(' \n\n', ' \n') 122 self.check_result('\t\n\n', '\t\n') [all …]
|