Home | History | Annotate | Download | only in ADT

Lines Matching refs:getKey

86   typename T::key_type getKey(int i = 0) {
120 EXPECT_FALSE(this->Map.count(this->getKey()));
121 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.end());
124 this->Map.lookup(this->getKey()));
131 this->Map.lookup(this->getKey()));
145 this->Map[this->getKey()] = this->getValue();
154 EXPECT_EQ(this->getKey(), it->first);
160 EXPECT_TRUE(this->Map.count(this->getKey()));
161 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.begin());
162 EXPECT_EQ(this->getValue(), this->Map.lookup(this->getKey()));
163 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]);
168 this->Map[this->getKey()] = this->getValue();
178 this->Map[this->getKey()] = this->getValue();
188 this->Map[this->getKey()] = this->getValue();
189 this->Map.erase(this->getKey());
198 this->Map.insert(std::make_pair(this->getKey(), this->getValue()));
200 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]);
205 this->Map[this->getKey()] = this->getValue();
209 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]);
215 this->Map[this->getKey(Key)] = this->getValue(Key);
220 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]);
233 this->Map[this->getKey(Key)] = this->getValue(Key);
242 this->Map[this->getKey()] = this->getValue();
246 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]);
251 this->Map[this->getKey()] = this->getValue();
258 EXPECT_EQ(this->getValue(), otherMap[this->getKey()]);
264 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]);
268 this->Map[this->getKey(i)] = this->getValue(i);
275 EXPECT_EQ(this->getValue(i), otherMap[this->getKey(i)]);
282 EXPECT_EQ(this->getValue(i), this->Map[this->getKey(i)]);
293 visitedIndex[this->getKey(i)] = i;
295 this->Map[this->getKey(i)] = this->getValue(i);