9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/tools/output_test_stream.hpp>
11 #include <boost/test/unit_test.hpp>
16 #include <type_traits>
19 namespace tt = boost::test_tools;
43 BOOST_CHECK_EQUAL(std::tuple_size<std::tuple<>>::
value, 0
u);
46 auto& a0_object = alist.
get<TypeA>();
48 BOOST_CHECK_EQUAL(alist.
get<TypeA>().vaA, 1.);
51 auto& a1_object = ablist.
get<TypeA>();
53 auto& b1_object = ablist.
get<TypeB>();
55 BOOST_CHECK_EQUAL(ablist.
get<TypeA>().vaA, 2.);
56 BOOST_CHECK_EQUAL(ablist.
get<TypeB>().vaB, 3);
61 BOOST_CHECK_EQUAL(abcList.
get<TypeA>().vaA, 2.);
62 BOOST_CHECK_EQUAL(abcList.
get<TypeB>().vaB, 3);
63 BOOST_CHECK_EQUAL(abcList.
get<TypeC>().vaC,
'4');