Opened 13 years ago
Closed 7 years ago
#3871 closed Patches (wontfix)
Add BOOST_CHECK_EQUAL_RANGE to UTF
| Reported by: | Owned by: | Gennadiy Rozental | |
|---|---|---|---|
| Milestone: | Boost 1.59.0 | Component: | test |
| Version: | Boost 1.39.0 | Severity: | Not Applicable |
| Keywords: | Cc: |
Description
The following works nicely. The user has to include begin/end themselves, but it makes checking collections so much easier.
define BOOST_CHECK_EQUAL_RANGE(L,R) BOOST_CHECK_EQUAL_COLLECTIONS(boost::begin(L), boost::end(L), boost::begin(R), boost::end(R)) }}}}
Change History (2)
comment:1 by , 12 years ago
comment:2 by , 7 years ago
| Milestone: | Boost 1.42.0 → Boost 1.59.0 |
|---|---|
| Resolution: | → wontfix |
| Status: | new → closed |
New Boost.Test release supports different syntax:
BOOST_TEST(l==R,test_tools::lexicographic())
or
BOOST_TEST(l==R,test_tools::per_element())
Note:
See TracTickets
for help on using tickets.

This doesn't work if the range is an expression.