Home | History | Annotate | Download | only in ADT

Lines Matching refs:MV

17   MapVector<int, int> MV;
20 R = MV.insert(std::make_pair(1, 2));
21 ASSERT_EQ(R.first, MV.begin());
26 R = MV.insert(std::make_pair(1, 3));
27 ASSERT_EQ(R.first, MV.begin());
32 R = MV.insert(std::make_pair(4, 5));
33 ASSERT_NE(R.first, MV.end());
38 EXPECT_EQ(MV.size(), 2u);
39 EXPECT_EQ(MV[1], 2);
40 EXPECT_EQ(MV[4], 5);
42 MV.pop_back();
43 EXPECT_EQ(MV.size(), 1u);
44 EXPECT_EQ(MV[1], 2);
46 R = MV.insert(std::make_pair(4, 7));
47 ASSERT_NE(R.first, MV.end());
52 EXPECT_EQ(MV.size(), 2u);
53 EXPECT_EQ(MV[1], 2);
54 EXPECT_EQ(MV[4], 7);