/** @overview nodeunit test case. */

var testResource = require('../../../test_resource'),
    _flattenThemesData = require('../../../../task/worker/_flatten_themes_data.js');

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

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


exports['Get themes data.'] = function (test) {
    var data = _flattenThemesData({
        rounded: [true, false],
        msg: ['foo', 'bar', 'baz']
    });
    test.equal(data.length, 6);
    data.forEach(function (data) {
        test.ok(data.themeName);
        test.ok(data.themeIndex);
    });
    test.done();
};