|
Boost : |
Subject: [boost] new test macros
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2011-02-04 12:11:48
Dear Boost.Test Maintainer,
I think it would be useful to add the following macros
to Boost.Test:
#define BOOST_CHECK_EQUAL_RANGE( Rng1, Rng2 ) \
BOOST_CHECK_EQUAL_COLLECTIONS( boost::begin(Rng1), boost::end(Rng1), \
boost::begin(Rng2), boost::end(Rng2) )
And it would also be nice to have BOOST_CHECK_CLOSE_RANGE/COLLECTION.
Thanks in advance
-Thorsten
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk