remove commented tests

This commit is contained in:
Max Bradbury 2020-11-08 00:05:48 +00:00
parent d04eaf892b
commit e5da032236
1 changed files with 1 additions and 65 deletions

View File

@ -313,70 +313,6 @@ mod test {
let expected = include_str!("test-resources/test.png.base64").trim();
assert_eq!(output, expected);
}
//
// #[test]
// fn colour_difference_none() {
// let output = crate::colour_difference(
// Rgba::from([255; 4]),
// &bitsy_parser::Colour {
// red: 255,
// green: 255,
// blue: 255
// }
// );
// assert_eq!(output, 0);
// }
//
// #[test]
// fn colour_difference_some() {
// let output = crate::colour_difference(
// Rgba::from([255; 4]),
// &bitsy_parser::Colour {
// red: 254,
// green: 255,
// blue: 255
// }
// );
// assert_eq!(output, 1);
// }
//
// #[test]
// fn colour_difference_some_2() {
// let output = crate::colour_difference(
// Rgba::from([254; 4]),
// &bitsy_parser::Colour {
// red: 254,
// green: 255,
// blue: 254
// }
// );
// assert_eq!(output, 1);
// }
// #[test]
// fn colour_difference_max() {
// let expected = 255 * 3;
//
// let output = crate::colour_difference(
// Rgba::from([0; 4]),
// &bitsy_parser::Colour {
// red: 255,
// green: 255,
// blue: 255
// }
// );
// assert_eq!(output, expected);
//
// let output = crate::colour_difference(
// Rgba::from([255; 4]),
// &bitsy_parser::Colour {
// red: 0,
// green: 0,
// blue: 0
// }
// );
// assert_eq!(output, expected);
// }
#[test]
fn get_palettes() {