|
Boost : |
From: Hubert Holin (Hubert.Holin_at_[hidden])
Date: 2003-01-30 04:39:02
Somewhere in the E.U., le 30/01/2003
In article
<1373D6342FA1D4119A5100E029437F6401169ED7_at_[hidden]>,
"Rozental, Gennadiy" <gennadiy.rozental_at_[hidden]> wrote:
> > 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.
OK, that will do nicely. Sorry I missed it. Perhaps a more
conspicuous link from the doc?
HH
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk