reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
29 EXPECT_TRUE(W.empty()); 30 EXPECT_EQ(0u, W.size()); 31 EXPECT_FALSE(W.count(42)); 33 EXPECT_TRUE(W.insert(21)); 34 EXPECT_TRUE(W.insert(42)); 35 EXPECT_TRUE(W.insert(17)); 37 EXPECT_FALSE(W.empty()); 38 EXPECT_EQ(3u, W.size()); 39 EXPECT_TRUE(W.count(42)); 41 EXPECT_FALSE(W.erase(75)); 42 EXPECT_EQ(3u, W.size()); 43 EXPECT_EQ(17, W.back()); 45 EXPECT_TRUE(W.erase(17)); 46 EXPECT_FALSE(W.count(17)); 47 EXPECT_EQ(2u, W.size()); 48 EXPECT_EQ(42, W.back()); 50 W.clear(); 51 EXPECT_TRUE(W.empty()); 52 EXPECT_EQ(0u, W.size()); 54 EXPECT_TRUE(W.insert(21)); 55 EXPECT_TRUE(W.insert(42)); 56 EXPECT_TRUE(W.insert(12)); 57 EXPECT_TRUE(W.insert(17)); 58 EXPECT_TRUE(W.count(12)); 59 EXPECT_TRUE(W.count(17)); 60 EXPECT_EQ(4u, W.size()); 61 EXPECT_EQ(17, W.back()); 62 EXPECT_TRUE(W.erase(12)); 63 EXPECT_FALSE(W.count(12)); 64 EXPECT_TRUE(W.count(17)); 65 EXPECT_EQ(3u, W.size()); 66 EXPECT_EQ(17, W.back()); 68 EXPECT_FALSE(W.insert(42)); 69 EXPECT_EQ(3u, W.size()); 70 EXPECT_EQ(42, W.pop_back_val()); 71 EXPECT_EQ(17, W.pop_back_val()); 72 EXPECT_EQ(21, W.pop_back_val()); 73 EXPECT_TRUE(W.empty());