Lines Matching refs:GetElementOr
165 using testing::internal::GetElementOr;
730 // Tests GetElementOr().
731 TEST(ContainerUtilityTest, GetElementOr) {
733 EXPECT_EQ('x', GetElementOr(a, 0, 'x'));
737 EXPECT_EQ('a', GetElementOr(a, 0, 'x'));
738 EXPECT_EQ('b', GetElementOr(a, 1, 'x'));
739 EXPECT_EQ('x', GetElementOr(a, -2, 'x'));
740 EXPECT_EQ('x', GetElementOr(a, 2, 'x'));