Permalink
Browse files

Test for #69

  • Loading branch information...
1 parent 6b275fb commit b757216ed1618bedb0c6211fb0e1658bb10e72a6 @tmcw tmcw committed May 30, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/spec/mode.test.js
View
1 test/spec/mode.test.js
@@ -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() {

0 comments on commit b757216

Please sign in to comment.