mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Add failing test.
This commit is contained in:
parent
0154464fb3
commit
adb5bfb560
1 changed files with 6 additions and 0 deletions
|
@ -196,4 +196,10 @@ test('Color#convert', function() {
|
||||||
equals(function() {
|
equals(function() {
|
||||||
return converted.equals(color);
|
return converted.equals(color);
|
||||||
}, true);
|
}, true);
|
||||||
|
});
|
||||||
|
|
||||||
|
test('Saturation from black rgb', function() {
|
||||||
|
equals(function() {
|
||||||
|
return new RGBColor(0, 0, 0).saturation == 0;
|
||||||
|
}, true);
|
||||||
});
|
});
|
Loading…
Reference in a new issue