"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const assert = require("assert");
const debug_1 = require("../../../../debug");
const Concat_1 = require("../../../../system/f/string/Concat");
const system_1 = require("../../../util/system");
const concat = new Concat_1.default(system_1.system);
concat.play();
false && (0, debug_1.watchUnitAndLog)(concat);
concat.push('a', 'bar');
concat.push('b', 'foo');
assert.equal(concat.peakOutput('ab'), 'barfoo');
assert.equal(concat.peakInput('a'), 'bar');
assert.equal(concat.peakInput('b'), 'foo');
concat.push('a', 'zaz');
concat.push('b', 'tar');
assert.equal(concat.peakInput('a'), 'zaz');
assert.equal(concat.peakInput('b'), 'tar');
assert.equal(concat.take('ab'), 'zaztar');
//# sourceMappingURL=Concat.js.map