"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const assert = require("assert");
const Pin_1 = require("../Pin");
const system_1 = require("./util/system");
const pin = new Pin_1.Pin({}, system_1.system);
assert.equal(pin.take(), undefined);
pin.push('foo');
assert.equal(pin.take(), 'foo');
assert.equal(pin.take(), undefined);
pin.push('bar');
assert.equal(pin.peak(), 'bar');
pin.push('zaz');
assert.equal(pin.peak(), 'zaz');
assert.equal(pin.take(), 'zaz');
//# sourceMappingURL=Pin.js.map