Files
30-seconds-of-code/test/binarySearch/binarySearch.test.js
2018-01-09 06:09:49 -05:00

13 lines
507 B
JavaScript

const test = require('tape');
const binarySearch = require('./binarySearch.js');
test('Testing binarySearch', (t) => {
//For more information on all the methods supported by tape
//Please go to https://github.com/substack/tape
t.true(typeof binarySearch === 'function', 'binarySearch is a Function');
//t.deepEqual(binarySearch(args..), 'Expected');
//t.equal(binarySearch(args..), 'Expected');
//t.false(binarySearch(args..), 'Expected');
//t.throws(binarySearch(args..), 'Expected');
t.end();
});