Lines Matching refs:GetElement
190 os << vector.GetElement(i) << " ";
570 EXPECT_EQ('a', a.GetElement(0));
574 EXPECT_EQ('a', a.GetElement(0));
575 EXPECT_EQ('b', a.GetElement(1));
586 EXPECT_EQ(1, a.GetElement(0));
591 EXPECT_EQ(2, a.GetElement(0));
592 EXPECT_EQ(1, a.GetElement(1));
597 EXPECT_EQ(3, a.GetElement(0));
598 EXPECT_EQ(2, a.GetElement(1));
599 EXPECT_EQ(1, a.GetElement(2));
635 EXPECT_EQ(1, a.GetElement(0));
640 EXPECT_EQ(2, a.GetElement(0));
641 EXPECT_EQ(1, a.GetElement(1));
646 EXPECT_EQ(3, a.GetElement(0));
647 EXPECT_EQ(2, a.GetElement(1));
648 EXPECT_EQ(1, a.GetElement(2));
661 EXPECT_EQ(1, a.GetElement(0));
662 EXPECT_EQ(2, a.GetElement(1));
667 EXPECT_EQ(1, a.GetElement(0));
668 EXPECT_EQ(2, a.GetElement(1));
669 EXPECT_EQ(3, a.GetElement(2));
674 EXPECT_EQ(1, a.GetElement(0));
675 EXPECT_EQ(4, a.GetElement(1));
676 EXPECT_EQ(2, a.GetElement(2));
677 EXPECT_EQ(3, a.GetElement(3));
701 ASSERT_EQ(0, a.GetElement(0));
702 ASSERT_EQ(1, a.GetElement(1));
703 ASSERT_EQ(2, a.GetElement(2));
707 ASSERT_EQ(1, a.GetElement(0));
708 ASSERT_EQ(0, a.GetElement(1));
709 ASSERT_EQ(2, a.GetElement(2));
713 ASSERT_EQ(2, a.GetElement(0));
714 ASSERT_EQ(0, a.GetElement(1));
715 ASSERT_EQ(1, a.GetElement(2));
728 EXPECT_EQ(42, singleton->GetElement(0));
735 EXPECT_EQ(42, big->GetElement(0));
736 EXPECT_EQ(43, big->GetElement(1));
737 EXPECT_EQ(44, big->GetElement(2));
776 EXPECT_EQ(0, a2.GetElement(0));
777 EXPECT_EQ(1, a2.GetElement(1));
787 EXPECT_EQ(0, a3.GetElement(0));
788 EXPECT_EQ(2, a3.GetElement(1));
798 EXPECT_EQ(1, a4.GetElement(0));
799 EXPECT_EQ(2, a4.GetElement(1));
802 // Tests the GetElement accessor.
803 TEST(VectorDeathTest, GetElement) {
810 EXPECT_EQ(0, b.GetElement(0));
811 EXPECT_EQ(1, b.GetElement(1));
812 EXPECT_EQ(2, b.GetElement(2));
814 b.GetElement(3),
817 b.GetElement(-1),
903 const int e = vector.GetElement(i);
921 if (i != vector.GetElement(i)) {
996 EXPECT_NE(0, vector_.GetElement(0));
997 EXPECT_NE(kVectorSize - 1, vector_.GetElement(kVectorSize - 1));
1044 EXPECT_EQ(vector_.GetElement(i), vector2.GetElement(i))
6656 EXPECT_STREQ("1st.OnTestProgramStart", vec.GetElement(0).c_str());
6657 EXPECT_STREQ("2nd.OnTestProgramStart", vec.GetElement(1).c_str());
6658 EXPECT_STREQ("3rd.OnTestProgramStart", vec.GetElement(2).c_str());
6664 EXPECT_STREQ("3rd.OnTestProgramEnd", vec.GetElement(0).c_str());
6665 EXPECT_STREQ("2nd.OnTestProgramEnd", vec.GetElement(1).c_str());
6666 EXPECT_STREQ("1st.OnTestProgramEnd", vec.GetElement(2).c_str());
6672 EXPECT_STREQ("1st.OnTestIterationStart", vec.GetElement(0).c_str());
6673 EXPECT_STREQ("2nd.OnTestIterationStart", vec.GetElement(1).c_str());
6674 EXPECT_STREQ("3rd.OnTestIterationStart", vec.GetElement(2).c_str());
6680 EXPECT_STREQ("3rd.OnTestIterationEnd", vec.GetElement(0).c_str());
6681 EXPECT_STREQ("2nd.OnTestIterationEnd", vec.GetElement(1).c_str());
6682 EXPECT_STREQ("1st.OnTestIterationEnd", vec.GetElement(2).c_str());