Lines Matching refs:GetElementOr
154 using testing::internal::GetElementOr;
596 // Tests GetElementOr().
597 TEST(ContainerUtilityTest, GetElementOr) {
599 EXPECT_EQ('x', GetElementOr(a, 0, 'x'));
603 EXPECT_EQ('a', GetElementOr(a, 0, 'x'));
604 EXPECT_EQ('b', GetElementOr(a, 1, 'x'));
605 EXPECT_EQ('x', GetElementOr(a, -2, 'x'));
606 EXPECT_EQ('x', GetElementOr(a, 2, 'x'));