"use strict";

var _ava = _interopRequireDefault(require("ava"));

var _index = _interopRequireDefault(require("../index.js"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const searchAlgo = new _index.default();
(0, _ava.default)('searchAlgo#binarySearch ', t => {
  let arr = [1, 3, 5, 7, 8, 9];
  let x = 5;
  t.true(searchAlgo.binarySearch(arr, x, 0, arr.length - 1)).equals("found!");
});
//# sourceMappingURL=/Users/ko.shiozawa/binary_search/node_modules/.cache/ava/29f7d2fd39bf91c5454b043466b700f0.js.map