Lines Matching refs:e4
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()
183 EXPECT_EQ(10, e4.error()); in TEST()
190 exp_void e4 = unexpected(10); in TEST() local
195 EXPECT_FALSE(e4.has_value()); in TEST()
199 EXPECT_EQ(10, e4.error()); in TEST()
216 exp_void e4({}); in TEST() local
217 EXPECT_TRUE(e4.has_value()); in TEST()
242 exp_int e4 = 20; in TEST() local
243 e3 = std::move(e4); in TEST()
246 EXPECT_EQ(20, e4.value()); in TEST()
270 exp_void e4 = unexpected(10); in TEST() local
271 ASSERT_FALSE(e4.has_value()); in TEST()
272 e4 = {}; in TEST()
273 EXPECT_TRUE(e4.has_value()); in TEST()
292 exp_void e4 = {}; in TEST() local
293 e4 = unexpected(10); in TEST()
294 EXPECT_FALSE(e4.has_value()); in TEST()
295 EXPECT_EQ(10, e4.error()); in TEST()
351 exp_void e4; in TEST() local
352 e3.swap(e4); in TEST()
355 EXPECT_TRUE(e4.has_value()); in TEST()
368 exp_void e4 = unexpected(20); in TEST() local
369 e3.swap(e4); in TEST()
371 EXPECT_FALSE(e4.has_value()); in TEST()
373 EXPECT_EQ(10, e4.error()); in TEST()
386 exp_void e4 = unexpected(10); in TEST() local
387 e3.swap(e4); in TEST()
389 EXPECT_TRUE(e4.has_value()); in TEST()
438 exp_void e4; in TEST() local
439 EXPECT_TRUE(e3 == e4); in TEST()
440 EXPECT_TRUE(e4 == e3); in TEST()
441 EXPECT_FALSE(e3 != e4); in TEST()
442 EXPECT_FALSE(e4 != e3); in TEST()
463 exp_void e4 = unexpected(10); in TEST() local
464 EXPECT_FALSE(e3 == e4); in TEST()
465 EXPECT_FALSE(e4 == e3); in TEST()
466 EXPECT_TRUE(e3 != e4); in TEST()
467 EXPECT_TRUE(e4 != e3); in TEST()
479 exp_void e4 = unexpected(10); in TEST() local
480 EXPECT_TRUE(e3 == e4); in TEST()
481 EXPECT_TRUE(e4 == e3); in TEST()
482 EXPECT_FALSE(e3 != e4); in TEST()
483 EXPECT_FALSE(e4 != e3); in TEST()
495 exp_void e4 = unexpected(20); in TEST() local
496 EXPECT_FALSE(e3 == e4); in TEST()
497 EXPECT_FALSE(e4 == e3); in TEST()
498 EXPECT_TRUE(e3 != e4); in TEST()
499 EXPECT_TRUE(e4 != e3); in TEST()
542 expected<std::string,int> e4 = "hello"; in TEST() local
543 EXPECT_TRUE(e3 == e4); in TEST()
544 e4 = "world"; in TEST()
545 EXPECT_FALSE(e3 == e4); in TEST()
692 exp_track e4(ct); in TEST() local