2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-27 19:32:11 +00:00
Files
test/doc/v2/examples/example32.cpp
Raffi Enficiaud 2947c58df8 adding a new folder for the quick book doc
trying to figure out how bjam works with this kind of simple configuration
2014-01-23 23:52:01 +01:00

20 lines
481 B
C++
Executable File

#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 );
}
//____________________________________________________________________________//