Lines Matching refs:capacity
60 EXPECT_EQ(vector.capacity(), 0);
68 EXPECT_EQ(vector.capacity(), 1);
82 EXPECT_EQ(vector.capacity(), 4);
90 EXPECT_EQ(vector.capacity(), 8);
141 EXPECT_EQ(vector.capacity(), 8);
185 EXPECT_EQ(vector.capacity(), 8);
310 ASSERT_EQ(vector.capacity(), 1);
316 ASSERT_EQ(vector.capacity(), 2);
322 // Insert at middle with spare capacity
323 ASSERT_EQ(vector.capacity(), 4);
331 ASSERT_EQ(vector.capacity(), 4);
339 // Insert at beginning with spare capacity
340 ASSERT_EQ(vector.capacity(), 8);
350 // Insert at end with spare capacity
451 EXPECT_EQ(vector.capacity(), 4);
585 size_t oldCapacity = vector.capacity();
591 ASSERT_TRUE(oldCapacity == vector.capacity());
604 size_t oldCapacity = vector.capacity();
610 ASSERT_TRUE(oldCapacity == vector.capacity());
623 size_t oldCapacity = vector.capacity();
629 ASSERT_TRUE(oldCapacity == vector.capacity());
642 size_t oldCapacity = vector.capacity();
647 ASSERT_TRUE(oldCapacity == vector.capacity());
703 EXPECT_EQ(vector.capacity(), 0);
704 EXPECT_EQ(movedVector.capacity(), 4);
720 EXPECT_EQ(vector.capacity(), kSize);
755 EXPECT_EQ(vector1.capacity(), 0);
760 EXPECT_EQ(vector2.capacity(), kSize);
778 EXPECT_EQ(vec.capacity(), 0);
796 EXPECT_EQ(vec.capacity(), kSize);
801 EXPECT_GE(vec.capacity(), kSize + 1);
851 EXPECT_EQ(vector.capacity(), 0);
856 EXPECT_EQ(vector.capacity(), 1);
859 EXPECT_EQ(vector.capacity(), 1);
865 EXPECT_EQ(vector.capacity(), 2);
871 EXPECT_EQ(vector.capacity(), 2);