Boost logo

Boost :

Subject: Re: [boost] [test] Ticket #6624 (Add a BOOST_<level>_NE_COLLECTIONS testing tool)
From: Daniel Trebbien (dtrebbien_at_[hidden])
Date: 2012-04-12 08:17:56


On 2012-04-10, Gennadiy Rozental <rogeeff_at_[hidden]> wrote:
> 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

Hello Gennadiy,

Okay. I will look into the new style of testing tools and work on a
patch for that.

Would it be alright to also add the BOOST_<level>_NE_COLLECTIONS macro
for "legacy" users? A new patch would add support for the new style
of testing tools as well as the BOOST_<level>_NE_COLLECTIONS macro.

Daniel Trebbien


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk