"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const assert_1 = require("../../../../util/assert");
const getDivTextSize_1 = require("../../../../util/text/getDivTextSize");
assert_1.assert.deepEqual((0, getDivTextSize_1.getDivTextSize)('', 12, 12), {
    width: 0,
    height: 12,
});
assert_1.assert.deepEqual((0, getDivTextSize_1.getDivTextSize)('identity', 12, 12), {
    width: 48,
    height: 12,
});
assert_1.assert.deepEqual((0, getDivTextSize_1.getDivTextSize)('a  ', 12, 12), {
    width: 18,
    height: 12,
});
assert_1.assert.deepEqual((0, getDivTextSize_1.getDivTextSize)('  a  ', 12, 12), {
    width: 30,
    height: 12,
});
assert_1.assert.deepEqual((0, getDivTextSize_1.getDivTextSize)('find last index from or default', 12, 12), {
    width: 60,
    height: 36,
});
assert_1.assert.deepEqual((0, getDivTextSize_1.getDivTextSize)('012345678900012345678900', 12, 12), {
    width: 72,
    height: 24,
});
assert_1.assert.deepEqual((0, getDivTextSize_1.getDivTextSize)('012345678901234567890123456789', 12, 12), {
    width: 72,
    height: 36,
});
assert_1.assert.deepEqual((0, getDivTextSize_1.getDivTextSize)('not logged in', 12, 18), {
    width: 78,
    height: 12,
});
assert_1.assert.deepEqual((0, getDivTextSize_1.getDivTextSize)('012345678901 ', 12, 12), {
    width: 72,
    height: 12,
});
assert_1.assert.deepEqual((0, getDivTextSize_1.getDivTextSize)('alphabet letter index ', 12, 18), {
    width: 90,
    height: 24,
});
//# sourceMappingURL=getDivTextSize.js.map