Skip to content

Commit

Permalink
Test for #69
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw committed May 30, 2014
1 parent 6b275fb commit b757216
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/spec/mode.test.js
Expand Up @@ -18,6 +18,7 @@ describe('mode', function() {
assert.equal(ss.mode([1, 1, 2, 2, 2, 2, 3, 3, 3]), 2);
assert.equal(ss.mode([1, 2, 3, 4, 5]), 1);
assert.equal(ss.mode([1, 2, 3, 4, 5, 5]), 5);
assert.equal(ss.mode([1,1,1,2,2,3,3,4,4]), 1);
});

it('the mode of an empty array is null', function() {
Expand Down

0 comments on commit b757216

Please sign in to comment.