add 2 tests, initializeArray Range & Value

This commit is contained in:
Stefan Feješ
2018-01-10 16:10:55 +01:00
parent b61ab6ec5c
commit fcfe76048f
3 changed files with 2 additions and 1 deletions

View File

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