var testResource = require('../../../test_resource'),
    _themeNameForIndex = require('../../../../task/worker/_theme_name_for_index');

exports['Get theme name from a number.'] = function (test) {
    test.equal(_themeNameForIndex(0), "a");
    test.equal(_themeNameForIndex(1), "b");
    test.equal(_themeNameForIndex(25), "z");
    test.equal(_themeNameForIndex(26), "aa");
    test.equal(_themeNameForIndex(27), "ab");
    test.equal(_themeNameForIndex(51), "az");
    test.equal(_themeNameForIndex(52), "ba");
    test.done();
};
