reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/ADT/PackedVectorTest.cpp
   22   EXPECT_EQ(0U, Vec.size());
   23   EXPECT_TRUE(Vec.empty());
   25   Vec.resize(5);
   26   EXPECT_EQ(5U, Vec.size());
   27   EXPECT_FALSE(Vec.empty());
   29   Vec.resize(11);
   30   EXPECT_EQ(11U, Vec.size());
   31   EXPECT_FALSE(Vec.empty());
   37   Vec.clear();
   38   EXPECT_EQ(0U, Vec.size());
   39   EXPECT_TRUE(Vec.empty());
   41   Vec.push_back(2);
   42   Vec.push_back(0);
   43   Vec.push_back(1);
   44   Vec.push_back(3);
   46   EXPECT_EQ(2U, Vec[0]);
   47   EXPECT_EQ(0U, Vec[1]);
   48   EXPECT_EQ(1U, Vec[2]);
   49   EXPECT_EQ(3U, Vec[3]);
   51   EXPECT_FALSE(Vec == Vec2);
   52   EXPECT_TRUE(Vec != Vec2);
   54   Vec = Vec2;
   55   EXPECT_TRUE(Vec == Vec2);
   56   EXPECT_FALSE(Vec != Vec2);
   58   Vec[1] = 1;
   60   Vec |= Vec2;
   61   EXPECT_EQ(3U, Vec[1]);