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

References

unittests/ADT/SparseMultiSetTest.cpp
   42   Set.setUniverse(10);
   43   USet::iterator I = Set.insert(5);
   44   EXPECT_TRUE(I != Set.end());
   47   EXPECT_FALSE(Set.empty());
   48   EXPECT_EQ(1u, Set.size());
   50   EXPECT_TRUE(Set.find(0) == Set.end());
   50   EXPECT_TRUE(Set.find(0) == Set.end());
   51   EXPECT_TRUE(Set.find(9) == Set.end());
   51   EXPECT_TRUE(Set.find(9) == Set.end());
   53   EXPECT_FALSE(Set.contains(0));
   54   EXPECT_TRUE(Set.contains(5));
   57   I = Set.insert(5);
   58   EXPECT_TRUE(I != Set.end());
   59   EXPECT_TRUE(I == ++Set.find(5));
   61   EXPECT_TRUE(I == Set.find(5));
   64   I = Set.find(1);
   65   EXPECT_TRUE(I == Set.end());
   66   EXPECT_EQ(2u, Set.size());
   67   EXPECT_EQ(5u, *Set.find(5));
   70   I = Set.find(5);
   71   EXPECT_TRUE(I != Set.end());
   72   I = Set.erase(I);
   73   EXPECT_TRUE(I != Set.end());
   74   I = Set.erase(I);
   75   EXPECT_TRUE(I == Set.end());
   76   EXPECT_TRUE(Set.empty());