add 2 tests for union & without

This commit is contained in:
Stefan Feješ
2018-01-10 12:07:03 +01:00
parent 4c7f279dd1
commit d0182d4fa0
2 changed files with 2 additions and 0 deletions

View File

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