diff --git a/test/tests/Color.js b/test/tests/Color.js index 2cb7f689..b5ecd4fc 100644 --- a/test/tests/Color.js +++ b/test/tests/Color.js @@ -169,4 +169,15 @@ test('Cloning colors', function() { equals(function() { return new RGBColor(color) != color; }, true); +}); + +test('Color#convert', function() { + var color = new RGBColor(0, 0, 0); + var converted = color.convert('rgb'); + equals(function() { + return converted !== color; + }, true); + equals(function() { + return converted.equals(color) + }, true); }); \ No newline at end of file