Maraiah/tests/clut.rs

13 lines
299 B
Rust

use maraiah::{durandal::image::*, marathon::pict::get_clut};
#[test]
fn get_clut_must_process_this()
{
assert_eq!(get_clut(INPUT).unwrap(), (OUTPUT.to_vec(), 2056));
}
const INPUT: &'static [u8] = include_bytes!("data/clut.in");
const OUTPUT: [Color8; 256] = include!("data/clut.out");
// EOF