"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 Equals_1 = __importDefault(require("../../../../system/f/comparison/Equals"));
const system_1 = require("../../../util/system");
const equals = new Equals_1.default(system_1.system);
equals.play();
equals.push('a', 0);
equals.push('b', 0);
assert_1.default.equal(equals.take('a = b'), true);
equals.push('a', 1);
equals.push('b', 0);
assert_1.default.equal(equals.take('a = b'), false);
equals.push('a', 0);
equals.push('b', '0');
assert_1.default.equal(equals.take('a = b'), false);
equals.push('a', 'foo');
equals.push('b', 'foo');
assert_1.default.equal(equals.take('a = b'), true);
equals.push('a', 1);
equals.push('b', 1);
assert_1.default.equal(equals.take('a = b'), true);
equals.push('a', /a/g);
equals.push('b', new RegExp('a', 'g'));
assert_1.default.equal(equals.take('a = b'), true);
equals.push('a', { a: 'foo', b: 'bar' });
equals.push('b', { a: 'foo', b: 'bar' });
assert_1.default.equal(equals.take('a = b'), true);
equals.push('a', []);
equals.push('b', []);
assert_1.default.equal(equals.take('a = b'), true);
equals.push('a', [1, 2, 3]);
equals.push('b', [1, 2, 3]);
assert_1.default.equal(equals.take('a = b'), true);
equals.push('a', [{ a: 1 }]);
equals.push('b', [{ a: 1 }]);
assert_1.default.equal(equals.take('a = b'), true);
//# sourceMappingURL=Equals.js.map