We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7af57e6 commit bf7dc7aCopy full SHA for bf7dc7a
test/test.js
@@ -63,6 +63,16 @@ describe('JSBloom - Bloom Filter', function() {
63
64
});
65
66
+ describe('Duplicate Insertion', function() {
67
+ it('should return true for 2000 added elements', function() {
68
+ for (var i = test_entries.length - 1; i >= 0; i--) {
69
+ assert.equal(filter.addEntry(test_entries[i]), false);
70
+ };
71
+ });
72
+
73
74
75
76
describe('Non-Existence', function() {
77
it('should return false for 1000 non elements', function() {
78
var positive = 0;
0 commit comments