2019-02-08 21:53:27 -08:00
|
|
|
use maraiah::{durandal::image::Color, marathon::pict::get_clut};
|
2019-02-04 21:12:10 -08:00
|
|
|
|
|
|
|
#[test]
|
|
|
|
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: [Color; 256] = include!("clut.out");
|
|
|
|
|
|
|
|
// EOF
|