"use strict";
exports.__esModule = true;
var ava_1 = require("ava");
var src_1 = require("../src");
ava_1["default"]('padTrits() adds padding to trit array.', function (t) {
    var trits = new Int8Array([-1, 0, 1]);
    var expected = new Int8Array([-1, 0, 1, 0, 0, 0]);
    t.deepEqual(src_1.padTrits(6)(trits), expected, 'padTrits() should add padding to trit array.');
});
ava_1["default"]('padTrits() returns the trit array as is, if exceeds given length.', function (t) {
    var trits = new Int8Array([-1, 0, 1]);
    var expected = new Int8Array([-1, 0, 1]);
    t.deepEqual(src_1.padTrits(3)(trits), expected, 'padTrits() should return the trit array as is, if exceeds given length.');
});
//# sourceMappingURL=padTrits.test.js.map