mirror of
https://github.com/boostorg/core.git
synced 2025-11-28 21:30:09 +01:00
Added documentation and tests for BOOST_TEST_NOT.
This commit is contained in:
@@ -43,6 +43,16 @@ int main()
|
||||
BOOST_TEST( x++ == 1 );
|
||||
BOOST_TEST( x == 2? true: false );
|
||||
BOOST_TEST( x == 2? &x: 0 );
|
||||
|
||||
// BOOST_TEST_NOT
|
||||
|
||||
BOOST_TEST_NOT( x == 1 );
|
||||
BOOST_TEST_NOT( ++x == 2 );
|
||||
BOOST_TEST_NOT( x++ == 2 );
|
||||
BOOST_TEST_NOT( --x == 2 );
|
||||
BOOST_TEST_NOT( x-- == 2 );
|
||||
BOOST_TEST_NOT( x == 2? false: true );
|
||||
BOOST_TEST_NOT( x == 2? 0: &x );
|
||||
|
||||
// BOOST_TEST_EQ
|
||||
|
||||
|
||||
Reference in New Issue
Block a user