/** @overview nodeunit test case. */

var testResource = require('../../../test_resource'),
    _randomColor = require('../../../../task/worker/_random_color.js');

exports.setUp = function (done) {
    done();
};

exports.tearDown = function (done) {
    done();
};


exports['Random color.'] = function (test) {
    for (var i = 0; i < 4; i++) {
        var bgColor = _randomColor();
        test.ok(!!bgColor.match(/^#[0-9A-F]{6}$/));
    }
    test.done();
};