9 #include <boost/test/unit_test.hpp>
17 using namespace ActsFatras;
19 BOOST_AUTO_TEST_SUITE(FatrasParticleSelectors)
55 BOOST_CHECK(selectElectron(
electron));
56 BOOST_CHECK(not selectElectron(positron));
57 BOOST_CHECK(not selectElectron(muon));
58 BOOST_CHECK(not selectElectron(antimuon));
59 BOOST_CHECK(not selectElectron(
pion));
64 BOOST_CHECK(selectElectronLike(
electron));
65 BOOST_CHECK(selectElectronLike(positron));
66 BOOST_CHECK(not selectElectronLike(muon));
67 BOOST_CHECK(not selectElectronLike(antimuon));
68 BOOST_CHECK(not selectElectronLike(
pion));
74 BOOST_CHECK(excludeMuon(positron));
75 BOOST_CHECK(not excludeMuon(muon));
76 BOOST_CHECK(excludeMuon(antimuon));
77 BOOST_CHECK(excludeMuon(
pion));
82 BOOST_CHECK(excludeMuonLike(
electron));
83 BOOST_CHECK(excludeMuonLike(positron));
84 BOOST_CHECK(not excludeMuonLike(muon));
85 BOOST_CHECK(not excludeMuonLike(antimuon));
86 BOOST_CHECK(excludeMuonLike(
pion));
89 BOOST_AUTO_TEST_SUITE_END()