"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/CompareLTE/spec.json');
const CompareLessThanEqual = (0, fromSpec_1.fromSpec)(spec, _specs_1.default);
const compareLTE = new CompareLessThanEqual(system_1.system);
false && (0, debug_1.watchUnitAndLog)(compareLTE);
false && (0, debug_1.watchGraphAndLog)(compareLTE);
compareLTE.play();
compareLTE.push('a', 1);
compareLTE.push('b', 3);
assert.equal(compareLTE.take('a ≤ b'), true);
assert.equal(compareLTE.take('a > b'), false);
compareLTE.push('a', 3);
compareLTE.push('b', 3);
assert.equal(compareLTE.take('a ≤ b'), true);
assert.equal(compareLTE.take('a > b'), false);
compareLTE.push('a', 3);
compareLTE.push('b', 2);
assert.equal(compareLTE.take('a ≤ b'), false);
assert.equal(compareLTE.take('a > b'), true);
//# sourceMappingURL=CompareLTE.js.map