"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 Throw_1 = __importDefault(require("../../../../system/f/control/Throw"));
const system_1 = require("../../../util/system");
const t = new Throw_1.default(system_1.system);
t.play();
false && (0, debug_1.watchUnitAndLog)(t);
t.push('message', 'boom');
assert_1.default.equal(t.getErr(), 'boom');
assert_1.default.equal(t.peakInput('message'), 'boom');
assert_1.default.equal(t.takeErr(), 'boom');
assert_1.default.equal(t.peakInput('message'), undefined);
assert_1.default.equal(t.getErr(), null);
//# sourceMappingURL=Throw.js.map