2
0
mirror of https://github.com/boostorg/test.git synced 2026-02-01 21:12:07 +00:00
Files
test/doc/v2/examples/example51.cpp
2014-03-04 00:51:37 +01:00

14 lines
363 B
C++
Executable File

//[example51
#define BOOST_TEST_MODULE example
#include <boost/test/included/unit_test.hpp>
#include <boost/test/detail/unit_test_parameters.hpp>
using namespace boost::unit_test;
BOOST_AUTO_TEST_CASE( test_case0 )
{
if( runtime_config::log_level() < log_warnings )
unit_test_log.set_threshold_level( log_warnings );
BOOST_WARN( sizeof(int) > 4 );
}
//]