#include <boost/test/included/unit_test.hpp>
#include <boost/test/parameterized_test.hpp>
#define BOOST_AUTO_TEST_CASE_PARAM( function, begin, end ) \
BOOST_AUTO_TU_REGISTRAR( BOOST_JOIN(registrar, __LINE__) )( \
BOOST_PARAM_TEST_CASE(function, begin, end) )
void free_test_function( int i )
{
BOOST_CHECK( i < 4 /* test assertion */ );
}
int params[] = { 1, 2, 3, 4, 5 };
BOOST_AUTO_TEST_CASE_PARAM( &free_test_function, params, params+5 );
I2luY2x1ZGUgPGJvb3N0L3Rlc3QvaW5jbHVkZWQvdW5pdF90ZXN0LmhwcD4KI2luY2x1ZGUgPGJvb3N0L3Rlc3QvcGFyYW1ldGVyaXplZF90ZXN0LmhwcD4KCiNkZWZpbmUgQk9PU1RfQVVUT19URVNUX0NBU0VfUEFSQU0oIGZ1bmN0aW9uLCBiZWdpbiwgZW5kICkgICAgICAgICAgICAgXApCT09TVF9BVVRPX1RVX1JFR0lTVFJBUiggQk9PU1RfSk9JTihyZWdpc3RyYXIsIF9fTElORV9fKSAgKSggICAgICAgICAgIFwKICAgIEJPT1NUX1BBUkFNX1RFU1RfQ0FTRShmdW5jdGlvbiwgYmVnaW4sIGVuZCkgKQoKdm9pZCBmcmVlX3Rlc3RfZnVuY3Rpb24oIGludCBpICkKewogICAgQk9PU1RfQ0hFQ0soIGkgPCA0IC8qIHRlc3QgYXNzZXJ0aW9uICovICk7Cn0KCmludCBwYXJhbXNbXSA9IHsgMSwgMiwgMywgNCwgNSB9OwpCT09TVF9BVVRPX1RFU1RfQ0FTRV9QQVJBTSggJmZyZWVfdGVzdF9mdW5jdGlvbiwgcGFyYW1zLCBwYXJhbXMrNSApOwo=