add 2 tests, distinctvaluesOfArray & dropElements

This commit is contained in:
Stefan Feješ
2018-01-10 17:33:29 +01:00
parent f18feca2a5
commit 305232c572
2 changed files with 2 additions and 0 deletions

View File

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