add 2 tests, hammingDistance & head

This commit is contained in:
Stefan Feješ
2018-01-10 16:23:35 +01:00
parent 7743d5a52a
commit 0ae07d1bfa
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ test('Testing head', (t) => {
//For more information on all the methods supported by tape
//Please go to https://github.com/substack/tape
t.true(typeof head === 'function', 'head is a Function');
t.equal(head([1, 2, 3]), 1, "Returns head of a list");
//t.deepEqual(head(args..), 'Expected');
//t.equal(head(args..), 'Expected');
//t.false(head(args..), 'Expected');