Home | History | Annotate | Download | only in tests

Lines Matching full:capacity

48         EXPECT_TRUE(vec1.capacity() == 0);
54 EXPECT_TRUE(vec2.capacity() == 100);
64 EXPECT_TRUE(vec3.capacity() == 200);
79 EXPECT_TRUE(vec1.capacity() == 0);
92 EXPECT_TRUE(vec1.capacity() == 0);
98 EXPECT_TRUE(vec1.capacity() == 100);
183 EXPECT_TRUE(vec1.capacity() == 100);
185 EXPECT_TRUE(vec1.capacity() == 200);
189 EXPECT_TRUE(vec1.capacity() == 100);
195 EXPECT_TRUE(vec2.capacity() == 0);
197 EXPECT_TRUE(vec2.capacity() == 0);
200 EXPECT_TRUE(vec2.capacity() == 200);
202 EXPECT_TRUE(vec2.capacity() == 0);
205 EXPECT_TRUE(vec2.capacity() == 1);
212 EXPECT_TRUE(vec3.capacity() == 1);
214 EXPECT_TRUE(vec3.capacity() == kExponentialFactor);
219 EXPECT_TRUE(vec3.capacity() == kExponentialFactor);
223 EXPECT_TRUE(vec3.capacity() == kExponentialFactor * kExponentialFactor);
241 EXPECT_TRUE(vec5.capacity() == 0);
258 EXPECT_TRUE(vec1.capacity() == 1024);
263 // pushed and when the capacity was increased.
297 EXPECT_TRUE(vec1.capacity() == 10);
302 EXPECT_TRUE(vec1.capacity() == 10);
310 EXPECT_TRUE(vec1.capacity() == 10);
315 EXPECT_TRUE(vec1.capacity() == 0);
338 EXPECT_TRUE(vec1.capacity() == 10);
340 EXPECT_TRUE(vec1.capacity() == 10);
342 EXPECT_TRUE(vec1.capacity() == 10);
344 EXPECT_TRUE(vec1.capacity() == 11);
346 EXPECT_TRUE(vec1.capacity() == 100);
348 EXPECT_TRUE(vec1.capacity() == 100);
353 EXPECT_TRUE(vec1.capacity() == 10);
355 EXPECT_TRUE(vec1.capacity() == 10);
357 EXPECT_TRUE(vec1.capacity() == 10);
359 EXPECT_TRUE(vec1.capacity() == 11);
361 EXPECT_TRUE(vec1.capacity() == 100);
363 EXPECT_TRUE(vec1.capacity() == 100);
401 EXPECT_TRUE(vec1.capacity() == 0);
402 EXPECT_TRUE(vec2.capacity() == 100);