> template<typename T> > class atanh_tester > { > public: > atanh_tester(char *) > { > } > > void operator () () > { > // whatever > } > }; > > how can I add a test case to "test" buit from an instance of > atanh_tester<float> ?
Use unit_test_suite_ex.hpp. It allows to supply boost::function0<void> as a test case. See unit_test_suite_ex_test.cpp for example. Gennadiy. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost