Skip to content

Commit

Permalink
add test for average -> average(1, 9) equals 5
Browse files Browse the repository at this point in the history
  • Loading branch information
kingdavidmartins committed Jan 9, 2018
1 parent 4cecb85 commit 9a51505
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/average/average.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ const average = require('./average.js');
test('Testing average', (t) => {
//For more information on all the methods supported by tape
//Please go to https://github.com/substack/tape
t.true(typeof average === 'function', 'average is a Function');
t.true(typeof average === 'function', 'average is a Function');
t.equal(average(9, 1), 5, 'The average of 1 & 9 is 5');
//t.deepEqual(average(args..), 'Expected');
//t.equal(average(args..), 'Expected');
//t.false(average(args..), 'Expected');
Expand Down

0 comments on commit 9a51505

Please sign in to comment.