Lines Matching refs:GetElementOr
254 using testing::internal::GetElementOr;
803 // Tests GetElementOr().
804 TEST(ContainerUtilityTest, GetElementOr) {
806 EXPECT_EQ('x', GetElementOr(a, 0, 'x'));
810 EXPECT_EQ('a', GetElementOr(a, 0, 'x'));
811 EXPECT_EQ('b', GetElementOr(a, 1, 'x'));
812 EXPECT_EQ('x', GetElementOr(a, -2, 'x'));
813 EXPECT_EQ('x', GetElementOr(a, 2, 'x'));