|
Boost : |
Subject: Re: [boost] [test] Ticket #6624 (Add a BOOST_<level>_NE_COLLECTIONS testing tool)
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2012-04-10 15:57:04
Jürgen Hunold <jhunold <at> gmx.eu> writes:
> If you add the necessary tests, I can get in this in. If I can get Gennadiys
> approval, of course.
Hi,
Sorry for the silence. I was out of town for a bit.
Frankly, I would not be keen on adding more tools like this. Latest Boost.Test
is moving away from all these NE, GT etc tool variants. Maybe if you can come up
with something more generic, which will work for any comparisons you'd like to
do with collection elements. Something like:
vector<int> a;
vector<int> b;
BOOST_CHECK( COL(a) > b );
BOOST_CHECK( COL(a) == b );
BOOST_CHECK( COL(a) <= b );
I already implemented non collection tools (see in trunk).
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk