"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _index = _interopRequireDefault(require("../../lib/stream/index"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var _default = exports["default"] = {
  setUp: function setUp(done) {
    done();
  },
  'We can get a response from ': function We_can_get_a_response_from_(test) {
    var document = ['More', 'XYZ'];
    var line = _index["default"].ofArray(document);
    var response = line.get(0);
    test.equal(response.value, 'More');
    test.done();
  },
  'We have reached out of stream': function We_have_reached_out_of_stream(test) {
    var document = ['More', 'XYZ'];
    var line = _index["default"].ofArray(document);
    var out = line.endOfStream(3);
    test.ok(out);
    out = line.endOfStream(1);
    test.ok(!out);
    test.done();
  }
};
//# sourceMappingURL=array-stream-test.js.map