"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const assert = require("assert");
const debug_1 = require("../../../debug");
const fromSpec_1 = require("../../../spec/fromSpec");
const _specs_1 = require("../../../system/_specs");
const system_1 = require("../../util/system");
const spec = require('../../../system/core/common/LengthLessThanOr/spec.json');
const LengthLTOr = (0, fromSpec_1.fromSpec)(spec, _specs_1.default);
const lengthLTOr = new LengthLTOr(system_1.system);
false && (0, debug_1.watchUnitAndLog)(lengthLTOr);
false && (0, debug_1.watchGraphAndLog)(lengthLTOr);
lengthLTOr.play();
lengthLTOr.reset();
lengthLTOr.push('a', [1, 2, 3]);
lengthLTOr.push('b', 3);
assert.equal(lengthLTOr.take('true'), false);
assert.equal(lengthLTOr.take('false'), true);
lengthLTOr.push('a', [1, 2, 3]);
lengthLTOr.push('b', 3);
assert.equal(lengthLTOr.take('true'), false);
assert.equal(lengthLTOr.take('false'), true);
lengthLTOr.push('a', [1, 2]);
lengthLTOr.push('b', 3);
assert.equal(lengthLTOr.take('true'), true);
assert.equal(lengthLTOr.take('false'), false);
//# sourceMappingURL=LengthLessThanOr.js.map