Maraiah/tests/machdr.rs

15 lines
299 B
Rust
Raw Normal View History

2019-02-05 14:52:32 -08:00
use maraiah::marathon::machdr::*;
// TODO: missing test data for applesingle
#[test]
fn macbin_must_process_this()
{
2019-02-08 21:53:27 -08:00
assert_eq!(check_macbin(INPUT_MACBIN), Some(128));
2019-02-05 14:52:32 -08:00
assert_eq!(try_mac_header(INPUT_MACBIN), 128);
}
const INPUT_MACBIN: &'static [u8] = include_bytes!("macbin.in");
// EOF