mirror of
https://github.com/RPCS3/cereal.git
synced 2025-03-04 13:37:05 +00:00
fix double comparison for variant test #230
This commit is contained in:
parent
27e4172f0b
commit
6a7bffb34d
@ -60,7 +60,7 @@ void test_boost_variant()
|
||||
}
|
||||
|
||||
BOOST_CHECK_EQUAL( boost::get<int>(i_bv1), boost::get<int>(o_bv1) );
|
||||
BOOST_CHECK_EQUAL( boost::get<double>(i_bv2), boost::get<double>(o_bv2) );
|
||||
BOOST_CHECK_CLOSE( boost::get<double>(i_bv2), boost::get<double>(o_bv2), 1e-5 );
|
||||
BOOST_CHECK_EQUAL( boost::get<std::string>(i_bv3), boost::get<std::string>(o_bv3) );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user