
10 Sep
2013
10 Sep
'13
6:28 a.m.
Hi, In the code snippet below, The 3rd parameter in the BOOST_AUTO_TEST_CASE_TEMPLATE is a boost::mpl::list. Is the 3rd parameter restricted only to boost::mpl::list or anything else can also be used? #define BOOST_TEST_MODULE example #include <boost/test/included/unit_test.hpp> #include <boost/test/test_case_template.hpp> #include <boost/mpl/list.hpp> //____________________________________________________________________________// typedef boost::mpl::list<long long,unsigned char> test_types; BOOST_AUTO_TEST_CASE_TEMPLATE( my_test, T, test_types ) { BOOST_CHECK_EQUAL( sizeof(T), (unsigned)4 ); } //_ Mit freundlichen Grüßen / Best Regards, Hemanth Choudary MV RBEI/ETA1