Skip to content

Commit

Permalink
BitSet.cardinality() - courtesy Hacker's Delight
Browse files Browse the repository at this point in the history
  • Loading branch information
monmohan committed Nov 24, 2013
1 parent c756ea1 commit 3b24cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestBitSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ var BitSet = require('../lib/BitSet.js'), assert = require('assert'), fs = requi
for (i = 0; i < 20; i++) {
bs.clear(i * 20);
}
assert.equal(bs.cardinality(), 10, 'wrong cardinality');
assert.equal(bs.cardinality(), 10, 'wrong cardinality after clearing');

}

Expand Down

0 comments on commit 3b24cc5

Please sign in to comment.