10 #define BOOST_TEST_MODULE LimitSelector Tests
12 #include <boost/test/included/unit_test.hpp>
15 #include <boost/test/data/test_case.hpp>
18 #include <boost/test/output_test_stream.hpp>
22 #include "Acts/Material/MaterialProperties.hpp"
23 #include "Acts/Utilities/Units.hpp"
25 #include "Particle.hpp"
28 namespace tt = boost::test_tools;
48 Particle
pion(position, momentum,
m, -1.);
51 pion.setLimits(0.15, 0.45);
53 pion.update(position, momentum, 0.10, 0.34);
55 X0Limit x0LimitSelector;
56 L0Limit l0LimitSelector;
58 BOOST_CHECK(!x0LimitSelector(detector, pion));
59 BOOST_CHECK(!l0LimitSelector(detector, pion));
64 BOOST_CHECK(x0LimitSelector(detector, pion));
65 BOOST_CHECK(l0LimitSelector(detector, pion));