10 #define BOOST_TEST_MODULE AbortList 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>
24 namespace tt = boost::test_tools;
43 template <
typename generator_t,
typename detector_t,
typename particle_t>
44 bool operator()(generator_t &,
const detector_t &, particle_t &,
45 std::vector<particle_t> &)
const {
54 template <
typename generator_t,
typename detector_t,
typename particle_t>
55 bool operator()(generator_t &,
const detector_t &, particle_t &,
56 std::vector<particle_t> &)
const {
66 std::vector<Particle>
out;
70 ProcessLess emptyList;
73 BOOST_TEST(!emptyList(generator, detector, in, out));
77 SterileList sterileProcess;
85 BOOST_TEST(!sterileProcess(generator, detector, in, out));
89 FatalList fatalProcess;
92 BOOST_TEST(fatalProcess(generator, detector, in, out));
96 SterileFatalList stfaProcess;
99 BOOST_TEST(stfaProcess(generator, detector, in, out));