"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 Constant_1 = __importDefault(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_1.default.equal(constant.take('a'), 0);
assert_1.default.equal(constant.take('a'), 0);
assert_1.default.equal(constant.take('a'), 0);
constant.push('a', 1);
assert_1.default.equal(constant.take('a'), 1);
assert_1.default.equal(constant.take('a'), 1);
assert_1.default.equal(constant.take('a'), 1);
assert_1.default.equal(constant.takeInput('a'), 1);
assert_1.default.equal(constant.takeOutput('a'), undefined);
//# sourceMappingURL=Constant.js.map