Lines Matching refs:um
167 um = m.UnorderedMapStringDouble()
168 um["ua"] = 1.1
169 um["ub"] = 2.6
171 assert sorted(list(um)) == ["ua", "ub"]
172 assert sorted(list(um.items())) == [("ua", 1.1), ("ub", 2.6)]
173 assert "UnorderedMapStringDouble" in str(um)
283 um = m.UnorderedMapStringDouble()
284 um["ua"] = 1.1
285 um["ub"] = 2.6
287 assert sorted(list(um)) == ["ua", "ub"]
288 assert sorted(list(um.items())) == [("ua", 1.1), ("ub", 2.6)]
289 del um["ua"]
290 assert sorted(list(um)) == ["ub"]
291 assert sorted(list(um.items())) == [("ub", 2.6)]