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

References

unittests/ADT/DenseSetTest.cpp
  115   EXPECT_EQ(3u, set.size());
  118   EXPECT_EQ(1u, set.count(1));
  119   EXPECT_EQ(0u, *set.find(0));
  120   EXPECT_EQ(1u, *set.find(1));
  121   EXPECT_EQ(2u, *set.find(2));
  122   EXPECT_TRUE(set.find(3) == set.end());
  122   EXPECT_TRUE(set.find(3) == set.end());
  125   EXPECT_EQ(0u, *set.find_as("a"));
  126   EXPECT_EQ(1u, *set.find_as("b"));
  127   EXPECT_EQ(2u, *set.find_as("c"));
  128   EXPECT_TRUE(set.find_as("d") == set.end());
  128   EXPECT_TRUE(set.find_as("d") == set.end());