
On 2012-04-10, Gennadiy Rozental <rogeeff@gmail.com> 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