Household names for the harness: a new one for every empty hub, never repeating across runs (the hosts keep state between runs).
A household nobody has used.
25#[cfg(test)] 26mod tests { 27 use super::*; 28 29 #[test] 30 fn a_name_is_a_household_id_and_never_repeats() { 31 let h = Households::new("celld"); 32 let (a, b) = (h.next(), h.next()); 33 assert_ne!(a, b); 34 for id in [&a, &b] { 35 assert!(id.len() <= 63 && id.bytes().all(|c| c.is_ascii_lowercase() || c.is_ascii_digit() || c == b'-'), "{id}"); 36 assert!(!id.starts_with('-') && !id.ends_with('-')); 37 } 38 } 39}