move test data to its own folder
parent
a26f182852
commit
717e0c841a
|
@ -6,7 +6,7 @@ fn get_clut_must_process_this()
|
|||
assert_eq!(get_clut(INPUT).unwrap(), (OUTPUT.to_vec(), 2056));
|
||||
}
|
||||
|
||||
const INPUT: &'static [u8] = include_bytes!("clut.in");
|
||||
const OUTPUT: [Color8; 256] = include!("clut.out");
|
||||
const INPUT: &'static [u8] = include_bytes!("data/clut.in");
|
||||
const OUTPUT: [Color8; 256] = include!("data/clut.out");
|
||||
|
||||
// EOF
|
||||
|
|
|
@ -6,7 +6,7 @@ fn read_epnt_must_process_this()
|
|||
assert_eq!(bin::rd_array(INPUT, map::read_epnt).unwrap(), OUTPUT.to_vec());
|
||||
}
|
||||
|
||||
const INPUT: &'static [u8] = include_bytes!("epnt.in");
|
||||
const OUTPUT: [map::Point; 54] = include!("epnt.out");
|
||||
const INPUT: &'static [u8] = include_bytes!("data/epnt.in");
|
||||
const OUTPUT: [map::Point; 54] = include!("data/epnt.out");
|
||||
|
||||
// EOF
|
||||
|
|
|
@ -9,6 +9,6 @@ fn macbin_must_process_this()
|
|||
assert_eq!(try_mac_header(INPUT_MACBIN), 128);
|
||||
}
|
||||
|
||||
const INPUT_MACBIN: &'static [u8] = include_bytes!("macbin.in");
|
||||
const INPUT_MACBIN: &'static [u8] = include_bytes!("data/macbin.in");
|
||||
|
||||
// EOF
|
||||
|
|
|
@ -14,6 +14,6 @@ fn read_minf_must_process_map0()
|
|||
});
|
||||
}
|
||||
|
||||
const INPUT: &'static [u8] = include_bytes!("minf.in");
|
||||
const INPUT: &'static [u8] = include_bytes!("data/minf.in");
|
||||
|
||||
// EOF
|
||||
|
|
Loading…
Reference in New Issue