diff --git a/crates/mind-body/src/projection/simulate/tests.rs b/crates/mind-body/src/projection/simulate/tests.rs index c8836f1..776d817 100644 --- a/crates/mind-body/src/projection/simulate/tests.rs +++ b/crates/mind-body/src/projection/simulate/tests.rs @@ -159,7 +159,7 @@ fn t_w1_same_facts_both_paths() { let libby = Addressee::new(LIBBY, ["libby", "Libby"]); let speaker = |line: &Line| if line.from == TOBIAH { Speaker::Mind } else { Speaker::Member }; // The simulator's path: the lines she sees, in order. - let seeing: Vec = lines.iter().map(|line| FactLine { sender: &line.from, room: &line.room, at_ms: line.at_ms, is_direct: false }).collect(); + let seeing: Vec = lines.iter().map(|line| FactLine { sender: &line.from, room: &line.room, at_ms: line.at_ms }).collect(); let simulated = line_facts(&seeing, LIBBY, &cast, &own, 30 * 60_000); // The poll's path: the deliveries pending (not her own lines), each with the room's earlier lines as its context. let heard: Vec = (0..lines.len()).filter(|at| lines[*at].from != LIBBY).collect(); @@ -331,7 +331,7 @@ fn a_direct_message_in_one_of_the_plans_rooms_is_refused() { #[test] fn the_mind_run_is_counted_across_her_rooms_and_an_uncounted_run_is_at_the_cap() { let cast = vec![TOBIAH.to_owned(), LIBBY.to_owned(), "@kiko:x".to_owned(), "@other:x".to_owned()]; - let line = |from: &'static str, room: &'static str| FactLine { sender: from, room, at_ms: 0, is_direct: false }; + let line = |from: &'static str, room: &'static str| FactLine { sender: from, room, at_ms: 0 }; let run = |lines: &[FactLine]| line_facts(lines, "@kiko:x", &cast, &[], 0).iter().map(|facts| facts.mind_run).collect::>(); assert_eq!(run(&[line("@meta:x", "#a:x"), line(TOBIAH, "#a:x"), line("@other:x", "#b:x"), line(TOBIAH, "#b:x")]), vec![0, 0, 1, 2]); // Soul's case: Meta chatting in #eureka does not end a loop in #minds; a word from Meta in #minds does.