1 #define BOOST_TEST_MODULE (InputTag_t) 2 #include "boost/test/unit_test.hpp" 9 BOOST_AUTO_TEST_SUITE(InputTag_t)
24 BOOST_TEST(t.
label() == mylabel);
35 BOOST_TEST(t.
label() == mylabel);
36 BOOST_TEST(t.
instance() == myinstance);
46 BOOST_TEST(t.
label() == mylabel);
47 BOOST_TEST(t.
instance() == myinstance);
48 BOOST_TEST(t.
process() == myprocess);
53 const char* mylabel =
"mylabel";
71 BOOST_TEST(mylabel == result);
76 const char* mylabel =
"alabel";
121 BOOST_TEST(
a1 ==
a2);
122 BOOST_TEST(
a1 ==
a3);
123 BOOST_TEST(
a2 ==
a3);
124 BOOST_TEST(
a3 ==
a1);
125 BOOST_TEST(
a1 != b1);
126 BOOST_TEST(
a1 != b2);
127 BOOST_TEST(
a1 != b3);
128 BOOST_TEST(b1 != b2);
129 BOOST_TEST(b1 != b3);
130 BOOST_TEST(b2 != b3);
135 std::set<art::InputTag>
test;
136 test.emplace(
"c",
"i");
140 std::vector<art::InputTag>
const ref{
"a::",
"b",
"c:i:"};
141 BOOST_TEST(test == ref, boost::test_tools::per_element{});
144 BOOST_TEST(test.emplace(
"c:i").second ==
false);
147 BOOST_AUTO_TEST_SUITE_END()
yes & test(std::ostream &)
decltype(auto) constexpr empty(T &&obj)
ADL-aware version of std::empty.