| Index: Source/heap/HeapTest.cpp
|
| diff --git a/Source/heap/HeapTest.cpp b/Source/heap/HeapTest.cpp
|
| index 7481ce20dd2b8aeae2bf9997b92aeb8eeb16d62a..ff761248079633df450a7177da42b6c0cd5b5c2e 100644
|
| --- a/Source/heap/HeapTest.cpp
|
| +++ b/Source/heap/HeapTest.cpp
|
| @@ -1516,6 +1516,15 @@ public:
|
| ListHashSet<Member<IntWrapper> > m_listHashSet;
|
| };
|
|
|
| +TEST(HeapTest, HeapVectorFilledWithValue)
|
| +{
|
| + IntWrapper* val = IntWrapper::create(1);
|
| + HeapVector<Member<IntWrapper> > vector(10, val);
|
| + EXPECT_EQ(10u, vector.size());
|
| + for (size_t i = 0; i < vector.size(); i++)
|
| + EXPECT_EQ(val, vector[i]);
|
| +}
|
| +
|
| TEST(HeapTest, HeapVectorWithInlineCapacity)
|
| {
|
| IntWrapper* one = IntWrapper::create(1);
|
|
|