/dports/science/qmcpack/qmcpack-3.11.0/src/Numerics/tests/ |
H A D | test_cartesian_tensor.cpp | 138 REQUIRE(ct.getGradYlm(0)[0] == Approx(0)); 139 REQUIRE(ct.getGradYlm(0)[1] == Approx(0)); 140 REQUIRE(ct.getGradYlm(0)[2] == Approx(0)); 141 REQUIRE(ct.getLaplYlm(0) == Approx(0)); 145 REQUIRE(ct.getGradYlm(1)[1] == Approx(0)); 146 REQUIRE(ct.getGradYlm(1)[2] == Approx(0)); 147 REQUIRE(ct.getLaplYlm(1) == Approx(0)); 151 REQUIRE(ct.getGradYlm(8)[1] == Approx(0)); 153 REQUIRE(ct.getLaplYlm(8) == Approx(0)); 192 REQUIRE(ct.getGradYlm(0)[0] == Approx(0)); [all …]
|
H A D | test_soa_cartesian_tensor.cpp | 145 REQUIRE(gr0[0] == Approx(0)); 146 REQUIRE(gr1[0] == Approx(0)); 147 REQUIRE(gr2[0] == Approx(0)); 148 REQUIRE(lap[0] == Approx(0)); 152 REQUIRE(gr1[1] == Approx(0)); 153 REQUIRE(gr2[1] == Approx(0)); 154 REQUIRE(lap[1] == Approx(0)); 158 REQUIRE(gr1[8] == Approx(0)); 160 REQUIRE(lap[8] == Approx(0)); 208 REQUIRE(gr0[0] == Approx(0)); [all …]
|
H A D | test_one_dim_cubic_spline.cpp | 32 REQUIRE(y2[0] == Approx(0)); 33 REQUIRE(y2[1] == Approx(-2.25)); 34 REQUIRE(y2[2] == Approx(0)); 48 REQUIRE(y2[0] == Approx(0)); 49 REQUIRE(y2[1] == Approx(-3.85714)); 50 REQUIRE(y2[2] == Approx(6.42857)); 64 REQUIRE(y2[0] == Approx(2.75)); 65 REQUIRE(y2[1] == Approx(-5.5)); 66 REQUIRE(y2[2] == Approx(10.25)); 80 REQUIRE(y2[0] == Approx(0)); [all …]
|
/dports/math/armadillo/armadillo-10.7.1/tests2/ |
H A D | fn_hess.cpp | 66 REQUIRE( U(0, 0) == Approx(1.0) ); 87 REQUIRE( U(0, 0) == Approx(1.0) ); 90 REQUIRE( U(1, 1) == Approx(1.0) ); 124 REQUIRE( U(0, 0) == Approx(1.0) ); 128 REQUIRE( U(1, 0) == Approx( 0.0) ); 132 REQUIRE( U(2, 0) == Approx( 0.0) ); 145 REQUIRE( H(2, 0) == Approx( 0.0) ); 194 REQUIRE( U(0, 0) == Approx(1.0) ); 199 REQUIRE( U(1, 0) == Approx( 0.0) ); 204 REQUIRE( U(2, 0) == Approx( 0.0) ); [all …]
|
H A D | spsubview.cpp | 400 REQUIRE( c(0, 0) == Approx(1.0) ); 405 REQUIRE( c(2, 1) == Approx(-1.0) ); 1363 REQUIRE( d(i) == Approx(dd(i)) ); 1384 REQUIRE( d(i) == Approx(dd(i)) ); 1404 REQUIRE( d(i) == Approx(dd(i)) ); 1425 REQUIRE( d(i) == Approx(dd(i)) ); 1449 REQUIRE( d(i) == Approx(dd(i)) ); 1474 REQUIRE( (*cri) == Approx(6.5) ); 1481 REQUIRE( (*cri) == Approx(5.5) ); 1488 REQUIRE( (*cri) == Approx(7.5) ); [all …]
|
H A D | fn_abs.cpp | 47 REQUIRE( X(0,0) == Approx(0.061198) ); 48 REQUIRE( X(1,0) == Approx(0.437242) ); 49 REQUIRE( X(2,0) == Approx(0.492474) ); 50 REQUIRE( X(3,0) == Approx(0.336352) ); 51 REQUIRE( X(4,0) == Approx(0.239585) ); 53 REQUIRE( X(0,1) == Approx(0.201990) ); 54 REQUIRE( X(1,1) == Approx(0.058956) ); 55 REQUIRE( X(2,1) == Approx(0.031309) ); 56 REQUIRE( X(3,1) == Approx(0.411541) ); 57 REQUIRE( X(4,1) == Approx(0.428913) ); [all …]
|
H A D | mat_minus.cpp | 58 REQUIRE( X(0,0) == Approx( 0.0097900) ); 59 REQUIRE( X(1,0) == Approx( 0.4018050) ); 60 REQUIRE( X(2,0) == Approx(-0.0379750) ); 61 REQUIRE( X(3,0) == Approx(-0.0374810) ); 62 REQUIRE( X(4,0) == Approx(-0.0191190) ); 64 REQUIRE( X(0,1) == Approx( 0.3287350) ); 65 REQUIRE( X(1,1) == Approx(-0.2371970) ); 66 REQUIRE( X(2,1) == Approx(-0.0996260) ); 67 REQUIRE( X(3,1) == Approx( 0.5465810) ); 68 REQUIRE( X(4,1) == Approx(-0.0751450) ); [all …]
|
H A D | fn_princomp.cpp | 55 REQUIRE(score(0,1) == Approx(4.6671842099e+00)); in checkScore() 67 REQUIRE(latent(0) == Approx(1.1989436021e+04)); in checkEigenvalues() 68 REQUIRE(latent(1) == Approx(9.2136913098e+01)); in checkEigenvalues() 69 REQUIRE(latent(2) == Approx(7.8335565832e+01)); in checkEigenvalues() 70 REQUIRE(latent(3) == Approx(2.4204644513e+01)); in checkEigenvalues() 71 REQUIRE(latent(4) == Approx(2.1302619671e+01)); in checkEigenvalues() 72 REQUIRE(latent(5) == Approx(1.1615198930e+01)); in checkEigenvalues() 73 REQUIRE(latent(6) == Approx(1.1040034957e+01)); in checkEigenvalues() 74 REQUIRE(latent(7) == Approx(7.7918177707e+00)); in checkEigenvalues() 75 REQUIRE(latent(8) == Approx(7.2862524567e+00)); in checkEigenvalues() [all …]
|
H A D | mat_plus.cpp | 49 REQUIRE( X(0,0) == Approx( 0.112606) ); 50 REQUIRE( X(1,0) == Approx( 0.472679) ); 51 REQUIRE( X(2,0) == Approx(-0.946973) ); 52 REQUIRE( X(3,0) == Approx( 0.710185) ); 53 REQUIRE( X(4,0) == Approx( 0.498289) ); 55 REQUIRE( X(0,1) == Approx( 0.075245) ); 56 REQUIRE( X(1,1) == Approx( 0.355109) ); 57 REQUIRE( X(2,1) == Approx( 0.037008) ); 58 REQUIRE( X(3,1) == Approx( 0.276501) ); 59 REQUIRE( X(4,1) == Approx(-0.782681) ); [all …]
|
H A D | fn_trans.cpp | 331 REQUIRE( accu(abs(X - At)) == Approx(0.0).margin(0.001) ); 332 REQUIRE( accu(abs(Y - Bt)) == Approx(0.0).margin(0.001) ); 337 REQUIRE( accu(abs(X - At)) == Approx(0.0).margin(0.001) ); 338 REQUIRE( accu(abs(Y - Bt)) == Approx(0.0).margin(0.001) ); 408 REQUIRE( accu(abs(X - Ct)) == Approx(0.0).margin(0.001) ); 409 REQUIRE( accu(abs(Y - Dt)) == Approx(0.0).margin(0.001) ); 414 REQUIRE( accu(abs(X - Ct)) == Approx(0.0).margin(0.001) ); 604 REQUIRE( lr == Approx(rr) ); 605 REQUIRE( li == Approx(-ri) ); 622 REQUIRE( lr == Approx(rr) ); [all …]
|
/dports/science/qmcpack/qmcpack-3.11.0/src/QMCWaveFunctions/tests/ |
H A D | test_pyscf_complex_MO.cpp | 123 REQUIRE(std::real(values[1]) == Approx(0.0486805973426202)); in test_C_diamond() 124 REQUIRE(std::imag(values[1]) == Approx(0.02535990721099494)); in test_C_diamond() 135 REQUIRE(std::real(values[4]) == Approx(0.014722495006984714)); in test_C_diamond() 147 REQUIRE(std::real(values[7]) == Approx(0.1625931972310664)); in test_C_diamond() 151 REQUIRE(std::real(values[8]) == Approx(0.14211538487895298)); in test_C_diamond() 156 REQUIRE(std::imag(values[9]) == Approx(-6.336955699765e-13)); in test_C_diamond() 188 REQUIRE(std::imag(values[17]) == Approx(0.1360121319699977)); in test_C_diamond() 229 REQUIRE(std::real(values[0]) == Approx(0.0956158275805242)); in test_C_diamond() 257 REQUIRE(std::real(values[7]) == Approx(0.1450364317288277)); in test_C_diamond() 258 REQUIRE(std::imag(values[7]) == Approx(0.1499844328343919)); in test_C_diamond() [all …]
|
H A D | test_MO.cpp | 115 REQUIRE(dpsi[0][1] == Approx(0)); in test_He() 116 REQUIRE(dpsi[0][2] == Approx(0)); in test_He() 127 REQUIRE(dpsi[0][1] == Approx(0)); in test_He() 128 REQUIRE(dpsi[0][2] == Approx(0)); in test_He() 235 REQUIRE(dpsi[0][1] == Approx(0)); in test_Ne() 353 REQUIRE(values[5] == Approx(0)); in test_HCN() 354 REQUIRE(values[6] == Approx(0)); in test_HCN() 390 REQUIRE(values[5] == Approx(0)); in test_HCN() 394 REQUIRE(d2psi[5] == Approx(0)); in test_HCN() 396 REQUIRE(values[6] == Approx(0)); in test_HCN() [all …]
|
H A D | test_soa_cusp_corr.cpp | 148 CHECK((*eta.C)(0, 0) == Approx(0.0)); 211 CHECK((*phi.C)(0, 0) == Approx(0.0)); 317 REQUIRE(values[5] == Approx(0)); 318 REQUIRE(values[6] == Approx(0)); 577 REQUIRE(cp.Rc == Approx(2.0)); 578 REQUIRE(cp.C == Approx(3.0)); 579 REQUIRE(cp.sg == Approx(-1.0)); 580 REQUIRE(cp.alpha[0] == Approx(1.1)); 581 REQUIRE(cp.alpha[1] == Approx(1.2)); 582 REQUIRE(cp.alpha[2] == Approx(1.3)); [all …]
|
/dports/net-im/biboumi/biboumi-9.0/external/src/catch/projects/SelfTest/UsageTests/ |
H A D | Approx.tests.cpp | 109 Approx approx = Approx::custom().epsilon( 0.01 ); 180 REQUIRE(td == Approx(10.0)); 181 REQUIRE(Approx(10.0) == td); 183 REQUIRE(td != Approx(11.0)); 184 REQUIRE(Approx(11.0) != td); 186 REQUIRE(td <= Approx(10.0)); 187 REQUIRE(td <= Approx(11.0)); 189 REQUIRE(Approx(9.0) <= td); 191 REQUIRE(td >= Approx(9.0)); 192 REQUIRE(td >= Approx(td)); [all …]
|
/dports/devel/catch/Catch2-2.13.7/projects/SelfTest/UsageTests/ |
H A D | Approx.tests.cpp | 123 Approx approx = Approx::custom().epsilon( 0.01 ); 197 REQUIRE(td == Approx(10.0)); 198 REQUIRE(Approx(10.0) == td); 200 REQUIRE(td != Approx(11.0)); 201 REQUIRE(Approx(11.0) != td); 203 REQUIRE(td <= Approx(10.0)); 204 REQUIRE(td <= Approx(11.0)); 206 REQUIRE(Approx(9.0) <= td); 208 REQUIRE(td >= Approx(9.0)); 209 REQUIRE(td >= Approx(td)); [all …]
|
/dports/math/e-antic/Catch2-ff349a5/projects/SelfTest/UsageTests/ |
H A D | Approx.tests.cpp | 123 Approx approx = Approx::custom().epsilon( 0.01 ); 197 REQUIRE(td == Approx(10.0)); 198 REQUIRE(Approx(10.0) == td); 200 REQUIRE(td != Approx(11.0)); 201 REQUIRE(Approx(11.0) != td); 203 REQUIRE(td <= Approx(10.0)); 204 REQUIRE(td <= Approx(11.0)); 206 REQUIRE(Approx(9.0) <= td); 208 REQUIRE(td >= Approx(9.0)); 209 REQUIRE(td >= Approx(td)); [all …]
|
/dports/www/restbed/restbed-4.8/dependency/catch/projects/SelfTest/UsageTests/ |
H A D | Approx.tests.cpp | 123 Approx approx = Approx::custom().epsilon( 0.01 ); 197 REQUIRE(td == Approx(10.0)); 198 REQUIRE(Approx(10.0) == td); 200 REQUIRE(td != Approx(11.0)); 201 REQUIRE(Approx(11.0) != td); 203 REQUIRE(td <= Approx(10.0)); 204 REQUIRE(td <= Approx(11.0)); 206 REQUIRE(Approx(9.0) <= td); 208 REQUIRE(td >= Approx(9.0)); 209 REQUIRE(td >= Approx(td)); [all …]
|
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/test/external/catch2/projects/SelfTest/UsageTests/ |
H A D | Approx.tests.cpp | 123 Approx approx = Approx::custom().epsilon( 0.01 ); 197 REQUIRE(td == Approx(10.0)); 198 REQUIRE(Approx(10.0) == td); 200 REQUIRE(td != Approx(11.0)); 201 REQUIRE(Approx(11.0) != td); 203 REQUIRE(td <= Approx(10.0)); 204 REQUIRE(td <= Approx(11.0)); 206 REQUIRE(Approx(9.0) <= td); 208 REQUIRE(td >= Approx(9.0)); 209 REQUIRE(td >= Approx(td)); [all …]
|
/dports/emulators/citra-qt5/citra-ac98458e0/externals/catch/projects/SelfTest/UsageTests/ |
H A D | Approx.tests.cpp | 123 Approx approx = Approx::custom().epsilon( 0.01 ); 197 REQUIRE(td == Approx(10.0)); 198 REQUIRE(Approx(10.0) == td); 200 REQUIRE(td != Approx(11.0)); 201 REQUIRE(Approx(11.0) != td); 203 REQUIRE(td <= Approx(10.0)); 204 REQUIRE(td <= Approx(11.0)); 206 REQUIRE(Approx(9.0) <= td); 208 REQUIRE(td >= Approx(9.0)); 209 REQUIRE(td >= Approx(td)); [all …]
|
/dports/emulators/citra/citra-ac98458e0/externals/catch/projects/SelfTest/UsageTests/ |
H A D | Approx.tests.cpp | 123 Approx approx = Approx::custom().epsilon( 0.01 ); 197 REQUIRE(td == Approx(10.0)); 198 REQUIRE(Approx(10.0) == td); 200 REQUIRE(td != Approx(11.0)); 201 REQUIRE(Approx(11.0) != td); 203 REQUIRE(td <= Approx(10.0)); 204 REQUIRE(td <= Approx(11.0)); 206 REQUIRE(Approx(9.0) <= td); 208 REQUIRE(td >= Approx(9.0)); 209 REQUIRE(td >= Approx(td)); [all …]
|
/dports/math/mlpack/mlpack-3.4.2/src/mlpack/tests/ |
H A D | imputation_test.cpp | 59 REQUIRE(input(0, 1) == Approx(5.0).epsilon(1e-7)); 60 REQUIRE(input(0, 2) == Approx(8.0).epsilon(1e-7)); 61 REQUIRE(input(1, 0) == Approx(2.0).epsilon(1e-7)); 62 REQUIRE(input(1, 1) == Approx(6.0).epsilon(1e-7)); 63 REQUIRE(input(1, 2) == Approx(9.0).epsilon(1e-7)); 64 REQUIRE(input(2, 0) == Approx(3.0).epsilon(1e-7)); 78 REQUIRE(input(0, 1) == Approx(5.0).epsilon(1e-7)); 79 REQUIRE(input(0, 2) == Approx(8.0).epsilon(1e-7)); 80 REQUIRE(input(1, 0) == Approx(2.0).epsilon(1e-7)); 81 REQUIRE(input(1, 1) == Approx(6.0).epsilon(1e-7)); [all …]
|
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/3rdparty/catch/projects/SelfTest/ |
H A D | ApproxTests.cpp | 20 REQUIRE( d == Approx( 1.23 ) ); 21 REQUIRE( d != Approx( 1.22 ) ); 22 REQUIRE( d != Approx( 1.24 ) ); 24 REQUIRE( Approx( d ) == 1.23 ); 28 REQUIRE( 0 == Approx(0) ); 53 REQUIRE( d <= Approx( 1.24 ) ); 54 REQUIRE( d <= Approx( 1.23 ) ); 123 Approx approx = Approx::custom().epsilon( 0.005 ); 191 REQUIRE(td == Approx(10.0)); 200 REQUIRE(Approx(9.0) <= td); [all …]
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/Catch/projects/SelfTest/ |
H A D | ApproxTests.cpp | 20 REQUIRE( d == Approx( 1.23 ) ); 21 REQUIRE( d != Approx( 1.22 ) ); 22 REQUIRE( d != Approx( 1.24 ) ); 51 REQUIRE( d <= Approx( 1.24 ) ); 121 Approx approx = Approx::custom().epsilon( 0.005 ); 178 REQUIRE(td == Approx(10.0)); 179 REQUIRE(Approx(10.0) == td); 181 REQUIRE(td != Approx(11.0)); 182 REQUIRE(Approx(11.0) != td); 187 REQUIRE(Approx(9.0) <= td); [all …]
|
/dports/emulators/mess/mame-mame0226/3rdparty/catch/projects/SelfTest/ |
H A D | ApproxTests.cpp | 20 REQUIRE( d == Approx( 1.23 ) ); 21 REQUIRE( d != Approx( 1.22 ) ); 121 Approx approx = Approx::custom().epsilon( 0.005 ); 168 REQUIRE(td == Approx(10.0)); 169 REQUIRE(Approx(10.0) == td); 171 REQUIRE(td != Approx(11.0)); 172 REQUIRE(Approx(11.0) != td); 174 REQUIRE(td <= Approx(10.0)); 175 REQUIRE(td <= Approx(11.0)); 177 REQUIRE(Approx(9.0) <= td); [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/catch/projects/SelfTest/ |
H A D | ApproxTests.cpp | 20 REQUIRE( d == Approx( 1.23 ) ); 21 REQUIRE( d != Approx( 1.22 ) ); 121 Approx approx = Approx::custom().epsilon( 0.005 ); 168 REQUIRE(td == Approx(10.0)); 169 REQUIRE(Approx(10.0) == td); 171 REQUIRE(td != Approx(11.0)); 172 REQUIRE(Approx(11.0) != td); 174 REQUIRE(td <= Approx(10.0)); 175 REQUIRE(td <= Approx(11.0)); 177 REQUIRE(Approx(9.0) <= td); [all …]
|