11 #include <boost/test/data/test_case.hpp>
12 #include <boost/test/unit_test.hpp>
25 namespace tt = boost::test_tools;
26 using namespace Acts::UnitLiterals;
37 cfg.radius = (2.56 + 2.46) * 0.5 * 0.5_m;
50 double tol_B = 1
e-6_T;
54 BOOST_TEST_CONTEXT(
"r=" << r) {
59 BOOST_CHECK_GT(std::abs(B1.z()), tol_B);
64 for (
size_t j = 0;
j <=
steps;
j++) {
66 double z = (1.5 *
cfg.length / 2.) /
steps *
j;
67 BOOST_TEST_CONTEXT(
"z=" << z) {
89 BOOST_CHECK_GT(std::abs(B_zp_rp.z()), tol_B);
90 BOOST_CHECK_GT(std::abs(B_zn_rp.z()), tol_B);
91 BOOST_CHECK_GT(std::abs(B_zn_rn.z()), tol_B);
92 BOOST_CHECK_GT(std::abs(B_zp_rn.z()), tol_B);