in src/components/blank.rs [64:80]
fn test_echo() {
let echo: Echo<EchoMsg> = Echo::new(false);
let output = vec![
vec!["Line 1"].try_into().unwrap(),
vec!["Line 2"].try_into().unwrap(),
];
let state = EchoMsg(output.clone());
let test_output = echo
.draw(
&crate::state!(&state),
Dimensions::new(10, 10),
DrawMode::Final,
)
.unwrap();
assert_eq!(output, test_output);
}