diff --git a/src/palette.rs b/src/palette.rs index 20dc72f..57faf99 100644 --- a/src/palette.rs +++ b/src/palette.rs @@ -314,22 +314,4 @@ mod test { let expected = ImageReader::open(path).unwrap().decode().unwrap(); assert_eq!(output, expected); } - - #[test] - fn palette_from_toml() { - let output = Palette::from( - "blueprint", - include_str!("test-resources/basic/palettes/blueprint.toml") - ); - let expected = crate::mock::palette::default(); - assert_eq!(output, expected); - } - - #[test] - fn palette_to_toml() { - let intermediate = crate::mock::palette::intermediate(); - let output = toml::to_string(&intermediate).unwrap(); - let expected = include_str!("test-resources/basic/palettes/blueprint.toml"); - assert_eq!(&output, expected); - } } diff --git a/src/test-resources/basic/palettes/blueprint.toml b/src/test-resources/basic/palettes/blueprint.toml deleted file mode 100644 index 669d382..0000000 --- a/src/test-resources/basic/palettes/blueprint.toml +++ /dev/null @@ -1 +0,0 @@ -colours = [[0, 0, 0, 0], [0, 81, 104, 255], [118, 159, 155, 255], [155, 155, 155, 255]]