reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/ADT/StringMapTest.cpp
  155   Map["eins"] = 1;
  156   Map["zwei"] = 2;
  157   Map["drei"] = 3;
  158   Map.erase("drei");
  159   Map.erase("eins");
  160   Map["veir"] = 4;
  161   Map["funf"] = 5;
  163   EXPECT_EQ(3u, Map.size());
  164   EXPECT_EQ(0, Map.lookup("eins"));
  165   EXPECT_EQ(2, Map.lookup("zwei"));
  166   EXPECT_EQ(0, Map.lookup("drei"));
  167   EXPECT_EQ(4, Map.lookup("veir"));
  168   EXPECT_EQ(5, Map.lookup("funf"));