"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const assert_1 = __importDefault(require("assert"));
const debug_1 = require("../../../../debug");
const Concat_1 = __importDefault(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_1.default.equal(concat.peakOutput('ab'), 'barfoo');
assert_1.default.equal(concat.peakInput('a'), 'bar');
assert_1.default.equal(concat.peakInput('b'), 'foo');
concat.push('a', 'zaz');
concat.push('b', 'tar');
assert_1.default.equal(concat.peakInput('a'), 'zaz');
assert_1.default.equal(concat.peakInput('b'), 'tar');
assert_1.default.equal(concat.take('ab'), 'zaztar');
//# sourceMappingURL=Concat.js.map