mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Add failing test.
This commit is contained in:
parent
0154464fb3
commit
adb5bfb560
1 changed files with 6 additions and 0 deletions
|
@ -197,3 +197,9 @@ test('Color#convert', 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