Lines Matching refs:count
1919 assert_eq!(container_check.iter().count(), 2); in zbi_test_container_extend_new()
1920 assert_eq!(container_0.iter().count(), 1); in zbi_test_container_extend_new()
1921 assert_eq!(container_1.iter().count(), 1); in zbi_test_container_extend_new()
1943 assert_eq!(container_0.iter().count(), 1); in zbi_test_container_extend_with_empty()
1945 assert_eq!(container_0.iter().count(), 1); in zbi_test_container_extend_with_empty()
2197 assert_eq!(container.iter().count(), 1); in zbi_test_container_new_entry_iterate()
2245 assert_eq!(container.iter().count(), 2); in zbi_test_container_parse_new_entry_mut_iterate()
2261 assert_eq!(ZbiContainer::parse(&buffer.0[..]).unwrap().iter().count(), 0); in zbi_test_container_iterate_empty()
2263 assert_eq!(container.iter().count(), 0); in zbi_test_container_iterate_empty()
2264 assert_eq!(container.iter_mut().count(), 0); in zbi_test_container_iterate_empty()
2276 assert_eq!(container.iter().count(), 4); in zbi_test_container_iterate_ref()