use marble_machinations::marble_engine::{grid::Grid, Machine}; #[test] fn creating_marbles_cause_indirect_claim() { let mut eng = Machine::new_empty(); eng.set_grid(Grid::from_ascii( " I o 2 B- o B | |-*-| |-+o | | *-| |* -B B- 1 3 I I ", )); for _ in 0..9 { eng.step(); } assert_eq!(eng.output(), [1, 2, 3]); }