Lines Matching refs:value_or

1051     EXPECT_EQ(0.0f, a.value_or(0.0f));  in TEST()
1054 EXPECT_EQ(0.1f, a.value_or(0.0f)); in TEST()
1057 EXPECT_EQ(0.0f, a.value_or(0.0f)); in TEST()
1063 constexpr int value = a.value_or(10); in TEST()
1068 constexpr int value = a.value_or(10); in TEST()
1074 EXPECT_EQ("bar", a.value_or("bar")); in TEST()
1077 EXPECT_EQ(std::string("foo"), a.value_or("bar")); in TEST()
1080 EXPECT_EQ(std::string("bar"), a.value_or("bar")); in TEST()
1085 EXPECT_TRUE(a.value_or(TestObject(1, 0.3)) == TestObject(1, 0.3)); in TEST()
1088 EXPECT_TRUE(a.value_or(TestObject(1, 0.3)) == TestObject(3, 0.1)); in TEST()
1091 EXPECT_TRUE(a.value_or(TestObject(1, 0.3)) == TestObject(1, 0.3)); in TEST()
1101 EXPECT_TRUE(TestObject(42, 0.42) == a.value_or(TestObject(42, 0.42))); in TEST()
1102 EXPECT_TRUE(TestObject(42, 0.42) == b.value_or(TestObject(42, 0.42))); in TEST()
1113 EXPECT_TRUE(TestObject(42, 0.42) == a.value_or(TestObject(42, 0.42))); in TEST()
1114 EXPECT_TRUE(TestObject(1, 0.3) == b.value_or(TestObject(42, 0.42))); in TEST()
1124 EXPECT_TRUE(TestObject(1, 0.3) == a.value_or(TestObject(42, 0.42))); in TEST()
1125 EXPECT_TRUE(TestObject(42, 0.42) == b.value_or(TestObject(42, 0.42))); in TEST()
1135 EXPECT_TRUE(TestObject(1, 0.3) == a.value_or(TestObject(42, 0.42))); in TEST()
1136 EXPECT_TRUE(TestObject(0, 0.1) == b.value_or(TestObject(42, 0.42))); in TEST()
1992 EXPECT_TRUE(TestObject(42, 0.42) == a.value_or(TestObject(42, 0.42))); in TEST()
1993 EXPECT_TRUE(TestObject(42, 0.42) == b.value_or(TestObject(42, 0.42))); in TEST()
2003 EXPECT_TRUE(TestObject(42, 0.42) == a.value_or(TestObject(42, 0.42))); in TEST()
2004 EXPECT_TRUE(TestObject(1, 0.3) == b.value_or(TestObject(42, 0.42))); in TEST()
2014 EXPECT_TRUE(TestObject(1, 0.3) == a.value_or(TestObject(42, 0.42))); in TEST()
2015 EXPECT_TRUE(TestObject(42, 0.42) == b.value_or(TestObject(42, 0.42))); in TEST()
2025 EXPECT_TRUE(TestObject(1, 0.3) == a.value_or(TestObject(42, 0.42))); in TEST()
2026 EXPECT_TRUE(TestObject(0, 0.1) == b.value_or(TestObject(42, 0.42))); in TEST()
2090 EXPECT_EQ(-1, a.value_or(-1)); in TEST()
2100 EXPECT_EQ(TestObject(42, 0.0), a.value_or(TestObject(42, 0.0))); in TEST()