Better test.
This commit is contained in:
parent
19060d93fe
commit
fb2ab0c6db
@ -40,7 +40,8 @@ suite.addBatch({
|
||||
},
|
||||
"wtf": function() {
|
||||
var f = new BloomFilter(20, 10);
|
||||
assert.equal(f.locations("wtf").length, 10);
|
||||
f.add("abc");
|
||||
assert.equal(f.test("wtf"), false);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user