/** @overview nodeunit test case. */

var testResource = require('../../../test_resource'),
    mockInjector = require('../../../mock_injector'),
    randomInt = require('../../../../lib/random/random_int.js');

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

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


exports['Random int.'] = function (test) {
    for (var i = 0; i < 10; i++) {
        test.ok(1 <= randomInt(1, 100) <= 100);
    }
    test.done();
};