Lines Matching defs:map1
37085 let mut map1 = BTreeMap::new();
37088 // Range to max_size inclusive, because i is the size of map1 being tested.
37093 map1_copy.clone_from(&map1); // small cloned from large
37094 assert_eq!(map1_copy, map1);
37095 let mut map2_copy = map1.clone();
37100 map2.clone_from(&map1); // same length
37102 assert_eq!(map2, map1);
37103 map1.insert(i, 10 * i);
37104 map1.check();
37519 let mut map1 = BTreeMap::new();
37520 map1.insert(Cyclic3::A, ());
37521 map1.insert(Cyclic3::B, ());
37527 map1.check();
37529 assert_eq!(map1.len(), 2);
37531 map1.append(&mut map2);
37532 assert_eq!(map1.len(), 5);
37534 map1.check();