// Module 6 Expansion Drop: HOT. The scenario is in expansion/README.md. use engine::harness::*; #[test] fn test_06x_hot_word() { let mut b = new_baba(LevelDef { width: 5, height: 1, ..Default::default() }); for (word, x) in [("LAVA", 0), ("IS", 1), ("HOT", 2), ("AND", 3), ("PUSH", 4)] { b.place(&format!("text:{word}"), x, 0); } assert_eq!( b.rules(), vec!["LAVA IS HOT", "LAVA IS PUSH", "TEXT IS PUSH"] ); }