From e5da032236f0ccd3808d8999d804a1ba695ffc52 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sun, 8 Nov 2020 00:05:48 +0000 Subject: [PATCH] remove commented tests --- src/lib.rs | 66 +----------------------------------------------------- 1 file changed, 1 insertion(+), 65 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index bc10f05..b5a0f46 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -313,71 +313,7 @@ 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() { load_default_game();