mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Assume nullptr existance
This commit is contained in:
parent
cf330e8c86
commit
f678f4d91f
9 changed files with 7 additions and 65 deletions
|
|
@ -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 ) ) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue