move test data to its own folder

png-branch
an 2019-02-20 21:10:23 -05:00
parent a26f182852
commit 717e0c841a
10 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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