mirror of
https://github.com/boostorg/test.git
synced 2026-01-26 19:12:10 +00:00
17 lines
310 B
C++
Executable File
17 lines
310 B
C++
Executable File
//[example_code
|
|
#include <boost/test/included/unit_test.hpp>
|
|
using namespace boost::unit_test;
|
|
|
|
void free_test_function()
|
|
{
|
|
BOOST_CHECK( 2 == 1 );
|
|
}
|
|
|
|
test_suite* init_unit_test_suite( int, char* [] )
|
|
{
|
|
framework::master_test_suite().
|
|
add( BOOST_TEST_CASE( &free_test_function ), 2 );
|
|
|
|
return 0;
|
|
}
|
|
//]
|