Lines Matching refs:getKey
86 typename T::key_type getKey(int i = 0) { in getKey() function in __anon07952c110111::DenseMapTest
120 EXPECT_FALSE(this->Map.count(this->getKey())); in TYPED_TEST()
121 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.end()); in TYPED_TEST()
123 this->Map.lookup(this->getKey())); in TYPED_TEST()
136 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
145 EXPECT_EQ(this->getKey(), it->first); in TYPED_TEST()
151 EXPECT_TRUE(this->Map.count(this->getKey())); in TYPED_TEST()
152 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.begin()); in TYPED_TEST()
153 EXPECT_EQ(this->getValue(), this->Map.lookup(this->getKey())); in TYPED_TEST()
154 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]); in TYPED_TEST()
159 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
169 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
179 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
180 this->Map.erase(this->getKey()); in TYPED_TEST()
189 this->Map.insert(std::make_pair(this->getKey(), this->getValue())); in TYPED_TEST()
191 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]); in TYPED_TEST()
196 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
200 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]); in TYPED_TEST()
206 this->Map[this->getKey(Key)] = this->getValue(Key); in TYPED_TEST()
211 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]); in TYPED_TEST()
224 this->Map[this->getKey(Key)] = this->getValue(Key); in TYPED_TEST()
233 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
237 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]); in TYPED_TEST()
242 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]); in TYPED_TEST()
247 this->Map[this->getKey(Key)] = this->getValue(Key); in TYPED_TEST()
252 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]); in TYPED_TEST()
258 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]); in TYPED_TEST()
263 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
270 EXPECT_EQ(this->getValue(), otherMap[this->getKey()]); in TYPED_TEST()
276 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]); in TYPED_TEST()
280 this->Map[this->getKey(i)] = this->getValue(i); in TYPED_TEST()
287 EXPECT_EQ(this->getValue(i), otherMap[this->getKey(i)]); in TYPED_TEST()
294 EXPECT_EQ(this->getValue(i), this->Map[this->getKey(i)]); in TYPED_TEST()
305 visitedIndex[this->getKey(i)] = i; in TYPED_TEST()
307 this->Map[this->getKey(i)] = this->getValue(i); in TYPED_TEST()