Home | History | Annotate | Download | only in test

Lines Matching full:map1

801   hash_map<int, char> map1;
802 map1[1] = 'a';
803 EXPECT_EQ("{ (1, 'a' (97, 0x61)) }", Print(map1));
807 hash_multimap<int, bool> map1;
808 map1.insert(make_pair(5, true));
809 map1.insert(make_pair(5, false));
812 const string result = Print(map1);
815 << " where Print(map1) returns \"" << result << "\".";
869 map<int, bool> map1;
870 map1[1] = true;
871 map1[5] = false;
872 map1[3] = true;
873 EXPECT_EQ("{ (1, true), (3, true), (5, false) }", Print(map1));
877 multimap<bool, int> map1;
884 map1.insert(pair<const bool, int>(true, 0));
885 map1.insert(pair<const bool, int>(true, 1));
886 map1.insert(pair<const bool, int>(false, 2));
887 EXPECT_EQ("{ (false, 2), (true, 0), (true, 1) }", Print(map1));