#[test] #[allow(non_snake_case)] fn anlz_{name}() {{ println!("Parsing file: {filepath}"); let data = include_bytes!("{filepath}").as_slice(); let mut reader = Cursor::new(data); let anlz = ANLZ::read(&mut reader).expect("failed to parse anlz file"); println!("{{:#?}}", anlz); let mut new_data = Vec::with_capacity(data.len()); let mut writer = Cursor::new(&mut new_data); anlz.write(&mut writer).expect("failed to write anlz file"); assert_eq!(data, new_data); }}