Fixed unit tests (still need to add more unit tests for move semantics)

This commit is contained in:
Andrzej Krzemienski committed 2014-04-26 00:22:39 +02:00
1 parent a26d11be87
commit 5c69bac12f
3 files changed
+64 -38

No files matched your search

+2 -1
View File
@@ -146,7 +146,8 @@ void test_move_ctor_from_optional_T()
void test_move_assign_from_U()
{
optional<Oracle> o1;
optional<Oracle> o1 = boost::none; // test if additional ctors didn't break it
o1 = boost::none; // test if additional assignments didn't break it
o1 = OracleVal();
BOOST_CHECK(o1);