Boost logo

Boost :

From: rogeeff (rogeeff_at_[hidden])
Date: 2002-01-21 11:20:30

--- In boost_at_y..., Jeremy Siek <jsiek_at_c...> wrote:
> Actually, this problem may not be as bad as it sounds. I had a
> problem to overcome for testing the MTL (and for the BGL
> I tested all possible combinations, but I was able to write many of
> tests in a generic fashion so that they would be applicable to any
> combination. Yeah, the tests took a long time to compile and run,
but at
> least I didn't have to type in an exponential amount of test code!

And as soon as MPL will present some kind of typelist facility Test
Library presents an extention to support testing by given typelist
and generic test function. So the process will be easy to automate.


> I'm not
> sure just how generic the tests can be for smart ptr, but I
wouldn't be
> surprised if it makes the job manageable.
> On Mon, 21 Jan 2002, Peter Dimov wrote:
> pdimov> Everyone that believes in policy-based designs ought to
consider the
> pdimov> following
> pdimov>
> pdimov> Assignment: Write the unit test for Loki::SmartPtr that
> pdimov>
> pdimov> a) all possible combinations of the supplied policies;
> pdimov> b) user-defined policies.
> pdimov>
> pdimov> ;-)
> pdimov>
> pdimov> --
> pdimov> Peter Dimov
> pdimov> Multi Media Ltd.
> pdimov>
> pdimov>
> pdimov> Info: Send unsubscribe requests to:
> pdimov>
> pdimov> Your use of Yahoo! Groups is subject to
> pdimov>
> pdimov>
> --------------------------------------------------------------------

>  Jeremy Siek                
>  Ph.D. Student, Indiana Univ. B'ton   email: jsiek_at_o...
>  C++ Booster (   office phone: (812) 855-3608
> --------------------------------------------------------------------

Boost list run by bdawes at, gregod at, cpdaniel at, john at