Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-03-10 09:55:03


> BOOST_TEST_CASE_TEMPLATE_FUNCTION(float_tests, T)
> {

Now you could also use test case template faciltiy in conjunction with auto
unit test:

typedef boost::mpl::list<float, double, long double> float_types;

BOOST_AUTO_TEST_CASE_TEMPLATE( float_tests, T, float_types )
{
....
}

Gennadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk