2
0
mirror of https://github.com/boostorg/test.git synced 2026-02-01 09:02:08 +00:00
Files
test/doc/v2/examples/example36.cpp
2014-01-28 23:48:41 +01:00

12 lines
275 B
C++
Executable File

//[example36
#define BOOST_TEST_MODULE example
#include <boost/test/included/unit_test.hpp>
BOOST_AUTO_TEST_CASE( test )
{
int col1 [] = { 1, 2, 3, 4, 5, 6, 7 };
int col2 [] = { 1, 2, 4, 4, 5, 7, 7 };
BOOST_CHECK_EQUAL_COLLECTIONS( col1, col1+7, col2, col2+7 );
}
//]