Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Test for #69

  • Loading branch information...
commit b757216ed1618bedb0c6211fb0e1658bb10e72a6 1 parent 6b275fb
Tom MacWright authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  test/spec/mode.test.js
1  test/spec/mode.test.js
View
@@ -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() {
Please sign in to comment.
Something went wrong with that request. Please try again.