diff -r 326fd52d95bb -r 15074091bdba unittests/tests/utils.js
--- a/unittests/tests/utils.js Wed Nov 30 12:23:53 2011 +0100
+++ b/unittests/tests/utils.js Wed Nov 30 14:27:39 2011 +0100
@@ -46,4 +46,10 @@
var output = "@handle @bundle #hashtag http://t.co/11111";
equal(IriSP.formatTweet(input), output, "the correct output is given");
});
-}
\ No newline at end of file
+
+ test("test function to convert decimal color to hexadecimal", function() {
+ equal(IriSP.DEC_HEXA_COLOR(125), "7D", "first test passes");
+ equal(IriSP.DEC_HEXA_COLOR(24345), "5F19", "second test passes");
+
+ });
+}