"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var chai_1 = require("chai");
var getModalProgressWidth_1 = require("../../../src/core/utils/getModalProgressWidth");
var maxProgressBarWidth_1 = require("../../../src/core/constants/maxProgressBarWidth");
describe('UNIT: getModalProgressWidth', function () {
    it('NaN', function () {
        chai_1.expect(getModalProgressWidth_1.getModalProgressWidth(0, 0)).to.NaN;
    });
    it('MAX_PROGRESS_BAR_WIDTH', function () {
        chai_1.expect(getModalProgressWidth_1.getModalProgressWidth(1, 1)).to.eq(maxProgressBarWidth_1.MAX_PROGRESS_BAR_WIDTH);
    });
    it('1/5 of MAX_PROGRESS_BAR_WIDTH', function () {
        chai_1.expect(getModalProgressWidth_1.getModalProgressWidth(1, 5)).to.eq(maxProgressBarWidth_1.MAX_PROGRESS_BAR_WIDTH / 5);
    });
});
//# sourceMappingURL=getModalProgressWidth.test.js.map