Lines Matching refs:getKey
87 typename T::key_type getKey(int i = 0) { in getKey() function in __anonf4a6f20c0111::DenseMapTest
121 EXPECT_FALSE(this->Map.count(this->getKey())); in TYPED_TEST()
122 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.end()); in TYPED_TEST()
125 this->Map.lookup(this->getKey())); in TYPED_TEST()
132 this->Map.lookup(this->getKey())); in TYPED_TEST()
146 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
155 EXPECT_EQ(this->getKey(), it->first); in TYPED_TEST()
161 EXPECT_TRUE(this->Map.count(this->getKey())); in TYPED_TEST()
162 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.begin()); in TYPED_TEST()
163 EXPECT_EQ(this->getValue(), this->Map.lookup(this->getKey())); in TYPED_TEST()
164 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]); in TYPED_TEST()
169 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
179 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
189 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
190 this->Map.erase(this->getKey()); in TYPED_TEST()
199 this->Map.insert(std::make_pair(this->getKey(), this->getValue())); in TYPED_TEST()
201 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]); in TYPED_TEST()
206 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
210 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]); in TYPED_TEST()
216 this->Map[this->getKey(Key)] = this->getValue(Key); in TYPED_TEST()
221 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]); in TYPED_TEST()
234 this->Map[this->getKey(Key)] = this->getValue(Key); in TYPED_TEST()
243 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
247 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]); in TYPED_TEST()
252 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]); in TYPED_TEST()
257 this->Map[this->getKey(Key)] = this->getValue(Key); in TYPED_TEST()
262 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]); in TYPED_TEST()
268 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]); in TYPED_TEST()
273 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
280 EXPECT_EQ(this->getValue(), otherMap[this->getKey()]); in TYPED_TEST()
286 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]); in TYPED_TEST()
290 this->Map[this->getKey(i)] = this->getValue(i); in TYPED_TEST()
297 EXPECT_EQ(this->getValue(i), otherMap[this->getKey(i)]); in TYPED_TEST()
304 EXPECT_EQ(this->getValue(i), this->Map[this->getKey(i)]); in TYPED_TEST()
315 visitedIndex[this->getKey(i)] = i; in TYPED_TEST()
317 this->Map[this->getKey(i)] = this->getValue(i); in TYPED_TEST()