diff --git a/test/tests/Color.js b/test/tests/Color.js index 04417b24..2619a60b 100644 --- a/test/tests/Color.js +++ b/test/tests/Color.js @@ -196,4 +196,10 @@ test('Color#convert', function() { equals(function() { return converted.equals(color); }, true); +}); + +test('Saturation from black rgb', function() { + equals(function() { + return new RGBColor(0, 0, 0).saturation == 0; + }, true); }); \ No newline at end of file