"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/KeysEquals/spec.json');
// console.log(JSON.stringify(spec, null, 2))
const KeysEquals = (0, fromSpec_1.fromSpec)(spec, _specs_1.default);
const keysEquals = new KeysEquals(system_1.system);
false && (0, debug_1.watchUnitAndLog)(keysEquals);
false && (0, debug_1.watchGraphAndLog)(keysEquals);
keysEquals.play();
keysEquals.push('a', {});
keysEquals.push('keys', []);
assert.equal(keysEquals.take('equals'), true);
assert.equal(keysEquals.take('equals'), undefined);
keysEquals.push('a', { foo: 'bar' });
keysEquals.push('keys', ['foo']);
assert.equal(keysEquals.take('equals'), true);
assert.equal(keysEquals.take('equals'), undefined);
//# sourceMappingURL=KeysEquals.js.map