delete toml palettes

This commit is contained in:
Max Bradbury 2021-05-16 22:47:29 +01:00
parent edf62d6999
commit e35a453f76
2 changed files with 0 additions and 19 deletions

View File

@ -314,22 +314,4 @@ mod test {
let expected = ImageReader::open(path).unwrap().decode().unwrap(); let expected = ImageReader::open(path).unwrap().decode().unwrap();
assert_eq!(output, expected); 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);
}
} }

View File

@ -1 +0,0 @@
colours = [[0, 0, 0, 0], [0, 81, 104, 255], [118, 159, 155, 255], [155, 155, 155, 255]]