add machdr test
parent
256c05c806
commit
9a8573a381
Binary file not shown.
|
@ -0,0 +1,14 @@
|
||||||
|
use maraiah::marathon::machdr::*;
|
||||||
|
|
||||||
|
// TODO: missing test data for applesingle
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn macbin_must_process_this()
|
||||||
|
{
|
||||||
|
assert_eq!( check_macbin(INPUT_MACBIN), Some(128));
|
||||||
|
assert_eq!(try_mac_header(INPUT_MACBIN), 128);
|
||||||
|
}
|
||||||
|
|
||||||
|
const INPUT_MACBIN: &'static [u8] = include_bytes!("macbin.in");
|
||||||
|
|
||||||
|
// EOF
|
Loading…
Reference in New Issue