$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Rozental, Gennadiy (gennadiy.rozental_at_[hidden])
Date: 2003-01-29 13:38:21
> 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.