Assume nullptr existance

This commit is contained in:
Alexander Grund 2020-07-09 18:41:40 +02:00
parent cf330e8c86
commit f678f4d91f
No known key found for this signature in database
GPG key ID: AA48A0760367A42B
9 changed files with 7 additions and 65 deletions

View file

@ -665,15 +665,11 @@ BOOST_AUTO_TEST_CASE( boost_lambda_functor_yields_question_mark_when_serialized
#endif
#ifdef MOCK_NULLPTR
BOOST_AUTO_TEST_CASE( nullptr_is_serialized )
{
BOOST_CHECK_EQUAL( "nullptr", to_string( nullptr ) );
}
#endif
BOOST_AUTO_TEST_CASE( mock_boost_optional_yields_its_value_when_serialized )
{
BOOST_CHECK_EQUAL( "7", to_string( boost::optional< int >( 7 ) ) );