Sophie

Sophie

distrib > Mandriva > current > i586 > by-pkgid > b5d6e5e84fc6929edbdeef5ef92c2500 > files > 1905

boost-examples-1.42.0-3.2mdv2010.1.i586.rpm

#include <boost/test/included/unit_test.hpp>
#include <boost/bind.hpp>
using namespace boost::unit_test;

//____________________________________________________________________________//

class test_class {
public:
    void test_method()
    {
        BOOST_CHECK( true /* test assertion */ );
    }
} tester;

//____________________________________________________________________________//

test_suite*
init_unit_test_suite( int argc, char* argv[] ) 
{
    framework::master_test_suite().
        add( BOOST_TEST_CASE( boost::bind( &test_class::test_method, &tester )));

    return 0;
}

//____________________________________________________________________________//