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

References

unittests/ADT/SparseSetTest.cpp
   44   Set.setUniverse(10);
   45   std::pair<USet::iterator, bool> IP = Set.insert(5);
   47   EXPECT_TRUE(IP.first == Set.begin());
   49   EXPECT_FALSE(Set.empty());
   50   EXPECT_FALSE(Set.begin() == Set.end());
   50   EXPECT_FALSE(Set.begin() == Set.end());
   51   EXPECT_TRUE(Set.begin() + 1 == Set.end());
   51   EXPECT_TRUE(Set.begin() + 1 == Set.end());
   52   EXPECT_EQ(1u, Set.size());
   54   EXPECT_TRUE(Set.find(0) == Set.end());
   54   EXPECT_TRUE(Set.find(0) == Set.end());
   55   EXPECT_TRUE(Set.find(9) == Set.end());
   55   EXPECT_TRUE(Set.find(9) == Set.end());
   57   EXPECT_FALSE(Set.count(0));
   58   EXPECT_TRUE(Set.count(5));
   61   IP = Set.insert(5);
   63   EXPECT_TRUE(IP.first == Set.begin());
   66   EXPECT_FALSE(Set.erase(1));
   67   EXPECT_EQ(1u, Set.size());
   68   EXPECT_EQ(5u, *Set.begin());
   71   USet::iterator I = Set.find(5);
   72   EXPECT_TRUE(I == Set.begin());
   73   I = Set.erase(I);
   74   EXPECT_TRUE(I == Set.end());
   75   EXPECT_TRUE(Set.empty());