11 #define BOOST_TEST_MODULE (keymap test) 13 #include "boost/test/unit_test.hpp" 22 using namespace fhicl;
26 BOOST_AUTO_TEST_SUITE(types_keymap_defaults_test)
37 BOOST_TEST(map == ref, boost::test_tools::per_element{});
48 auto ref = {
"sequence",
"sequence[0]",
"sequence[1]",
"sequence[2]"};
49 BOOST_TEST(map == ref, boost::test_tools::per_element{});
60 auto ref = {
"sequence",
"sequence[0]",
"sequence[1]"};
61 BOOST_TEST(map == ref, boost::test_tools::per_element{});
72 auto ref = {
"tuple",
"tuple[0]",
"tuple[1]",
"tuple[2]"};
73 BOOST_TEST(map == ref, boost::test_tools::per_element{});
81 {{1, 3, 5}, 4.6,
true}};
92 BOOST_TEST(map == ref, boost::test_tools::per_element{});
100 {{9, 15}, 0.2,
false}};
105 "tuple",
"tuple[0]",
"tuple[0][0]",
"tuple[0][1]",
"tuple[1]",
"tuple[2]"};
106 BOOST_TEST(map == ref, boost::test_tools::per_element{});
114 {{4, 3.7f}, 8.1,
true}};
119 "tuple",
"tuple[0]",
"tuple[0][0]",
"tuple[0][1]",
"tuple[1]",
"tuple[2]"};
120 BOOST_TEST(map == ref, boost::test_tools::per_element{});
128 {{2, 5.4f}, {4, 104.5f}, {8, 15.3f}}};
132 auto ref = {
"seqtuple",
142 BOOST_TEST(map == ref, boost::test_tools::per_element{});
153 auto ref = {
"seqtuple",
160 BOOST_TEST(map == ref, boost::test_tools::per_element{});
171 auto ref = {
"seqseq",
178 BOOST_TEST(map == ref, boost::test_tools::per_element{});
189 auto ref = {
"seqseq",
"seqseq[0]",
"seqseq[0][0]",
"seqseq[0][1]"};
190 BOOST_TEST(map == ref, boost::test_tools::per_element{});
201 auto ref = {
"seqseq",
209 BOOST_TEST(map == ref, boost::test_tools::per_element{});
220 auto ref = {
"seqseq",
227 BOOST_TEST(map == ref, boost::test_tools::per_element{});
229 BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(one_atom_t)
ChannelGroupService::Name Name
static constexpr double km
void walk_over(tt::maybe_const_t< ParameterBase, C > &)
auto const & result() const