"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const assert = require("assert");
const debug_1 = require("../../../../debug");
const Constant_1 = require("../../../../system/f/control/Constant");
const system_1 = require("../../../util/system");
const constant = new Constant_1.default(system_1.system);
constant.play();
false && (0, debug_1.watchUnitAndLog)(constant);
constant.push('a', 0);
assert.equal(constant.take('a'), 0);
assert.equal(constant.take('a'), 0);
assert.equal(constant.take('a'), 0);
constant.push('a', 1);
assert.equal(constant.take('a'), 1);
assert.equal(constant.take('a'), 1);
assert.equal(constant.take('a'), 1);
assert.equal(constant.takeInput('a'), 1);
assert.equal(constant.takeOutput('a'), undefined);
//# sourceMappingURL=Constant.js.map