2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-27 07:22:11 +00:00
Files
test/doc/v2/examples/example32.cpp
Raffi Enficiaud 89c0aa76ff cleaning example 32
links to checkpoint and passpoint
fixing links
2014-02-11 10:52:16 +01:00

18 lines
328 B
C++
Executable File

//[example32
#define BOOST_TEST_MODULE example
#include <boost/test/included/unit_test.hpp>
#include <utility>
typedef std::pair<int,float> pair_type;
BOOST_TEST_DONT_PRINT_LOG_VALUE( pair_type );
BOOST_AUTO_TEST_CASE( test_list )
{
pair_type p1( 2, 5.5 );
pair_type p2( 2, 5.501 );
BOOST_CHECK_EQUAL( p1, p2 );
}
//]