diff --git a/test/distinctValuesOfArray/distinctValuesOfArray.test.js b/test/distinctValuesOfArray/distinctValuesOfArray.test.js index 527ba8722..43da61c80 100644 --- a/test/distinctValuesOfArray/distinctValuesOfArray.test.js +++ b/test/distinctValuesOfArray/distinctValuesOfArray.test.js @@ -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'); diff --git a/test/dropElements/dropElements.test.js b/test/dropElements/dropElements.test.js index 79c82af44..95c551602 100644 --- a/test/dropElements/dropElements.test.js +++ b/test/dropElements/dropElements.test.js @@ -5,6 +5,7 @@ test('Testing dropElements', (t) => { //For more information on all the methods supported by tape //Please go to https://github.com/substack/tape t.true(typeof dropElements === 'function', 'dropElements is a Function'); + t.deepEqual(dropElements([1, 2, 3, 4], n => n >= 3), [3,4], "Removes elements in an array until the passed function returns true"); //t.deepEqual(dropElements(args..), 'Expected'); //t.equal(dropElements(args..), 'Expected'); //t.false(dropElements(args..), 'Expected');