"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 HasKey_1 = __importDefault(require("../../../../system/f/object/HasKey"));
const system_1 = require("../../../util/system");
const hasKey = new HasKey_1.default(system_1.system);
hasKey.play();
false && (0, debug_1.watchUnitAndLog)(hasKey);
hasKey.push('obj', {});
hasKey.push('key', 'foo');
assert_1.default.deepEqual(hasKey.takeOutput('has'), false);
hasKey.push('obj', { a: 1 });
hasKey.push('key', 'a');
assert_1.default.deepEqual(hasKey.takeOutput('has'), true);
hasKey.push('obj', { a: 1 });
hasKey.push('key', 'constructor');
assert_1.default.deepEqual(hasKey.takeOutput('has'), false);
//# sourceMappingURL=HasKey.js.map