Lines Matching refs:assert
1474 assert!(m.is_empty()); in test_empty_iter()
1485 assert!(m.is_empty()); in test_lots_of_insertions()
1502 assert!(!m.contains_key(&i)); in test_lots_of_insertions()
1507 assert!(m.remove(&i).is_some()); in test_lots_of_insertions()
1510 assert!(!m.contains_key(&j)); in test_lots_of_insertions()
1514 assert!(m.contains_key(&j)); in test_lots_of_insertions()
1519 assert!(!m.contains_key(&i)); in test_lots_of_insertions()
1528 assert!(m.remove(&i).is_some()); in test_lots_of_insertions()
1531 assert!(!m.contains_key(&j)); in test_lots_of_insertions()
1535 assert!(m.contains_key(&j)); in test_lots_of_insertions()
1576 assert!(!m.is_empty()); in test_is_empty()
1577 assert!(m.remove(&1).is_some()); in test_is_empty()
1578 assert!(m.is_empty()); in test_is_empty()
1619 assert!(keys.contains(&1)); in test_keys()
1620 assert!(keys.contains(&2)); in test_keys()
1621 assert!(keys.contains(&3)); in test_keys()
1630 assert!(values.contains(&'a')); in test_values()
1631 assert!(values.contains(&'b')); in test_values()
1632 assert!(values.contains(&'c')); in test_values()
1644 assert!(values.contains(&2)); in test_values_mut()
1645 assert!(values.contains(&4)); in test_values_mut()
1646 assert!(values.contains(&6)); in test_values_mut()
1652 assert!(m.get(&1).is_none()); in test_find()
1671 assert!(m1 != m2); in test_eq()
1688 assert!(map_str == "{1: 2, 3: 4}" || map_str == "{3: 4, 1: 2}"); in test_show()