D | expected_test.cpp | 78 exp_void e4 = e3; in TEST() local 80 EXPECT_TRUE(e4.has_value()); in TEST() 93 exp_string e4 = std::move(e3); in TEST() local 96 EXPECT_TRUE(e4.has_value()); in TEST() 98 EXPECT_EQ("hello", e4.value()); in TEST() 130 exp_complex e4 = T(10, 20); in TEST() local 136 EXPECT_TRUE(e4.has_value()); in TEST() 141 EXPECT_EQ(T(10,20), e4.value()); in TEST() 174 exp_void e4 = unexp4; in TEST() local 179 EXPECT_FALSE(e4.has_value()); in TEST() [all …]
|