FC Updates from BitShares and myself #21
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ BOOST_AUTO_TEST_CASE(static_variant_depth_test)
|
||||||
int count = 0;
|
int count = 0;
|
||||||
for( const auto& line : lines )
|
for( const auto& line : lines )
|
||||||
if( line.find("_svdt_visitor") != std::string::npos ) count++;
|
if( line.find("_svdt_visitor") != std::string::npos ) count++;
|
||||||
BOOST_CHECK_LT( 2, count ); // test.visit(), static_variant::visit, function object, visitor.
|
BOOST_CHECK_LT( 1, count ); // test.visit(), static_variant::visit, function object, visitor.
|
||||||
// The actual count depends on compiler and optimization settings.
|
// The actual count depends on compiler and optimization settings.
|
||||||
BOOST_CHECK_GT( 10, count ); // It *should* be less than the number of static variant components.
|
BOOST_CHECK_GT( 10, count ); // It *should* be less than the number of static variant components.
|
||||||
// some is implementation-dependent
|
// some is implementation-dependent
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue