delete toml palettes
This commit is contained in:
parent
edf62d6999
commit
e35a453f76
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
colours = [[0, 0, 0, 0], [0, 81, 104, 255], [118, 159, 155, 255], [155, 155, 155, 255]]
|
|
Loading…
Reference in New Issue