"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 Unit_1 = require("../../../../Class/Unit");
const debug_1 = require("../../../../debug");
const Exec_1 = __importDefault(require("../../../../system/f/meta/Exec"));
const system_1 = require("../../../util/system");
const exec = new Exec_1.default(system_1.system);
exec.play();
const RANDOM_ID = system_1.system.newSpecId();
const unit = new Unit_1.Unit({}, {}, system_1.system, RANDOM_ID);
false && (0, debug_1.watchUnitAndLog)(exec);
exec.push('unit', unit);
exec.push('method', 'getInputCount');
exec.push('args', []);
assert_1.default.equal(exec.takeOutput('return'), 0);
assert_1.default.equal(exec.peakInput('unit'), unit);
exec.push('method', 'getInputCount');
exec.push('args', []);
assert_1.default.equal(exec.peakOutput('return'), 0);
exec.takeInput('unit');
assert_1.default.equal(exec.peakOutput('return'), undefined);
//# sourceMappingURL=Exec.js.map