Closed bassoy closed 6 years ago
Definitely ! I'd prefer tests to define this (using parametrized tests, perhaps), so all we have to do in the build system is to select which tests to build / run.
Yes, done so for the tensor unit tests.
They are all fully parametrized and mostly use BOOST_FIXTURE_TEST_CASE_TEMPLATE
where the template parameter is mostly defined as
using test_types = zip<int,long,float,double,std::complex<float>>:: with_t<boost::numeric::ublas::first_order, boost::numeric::ublas::last_order>;
Do we need to specify macros in
test/Jamfile.v2
causing different template classes to be instantiated for different tests? Can't we specify this within the unit tests for better encapsulation?