public void TestNewDefaultScalableBloomFilter() { var f = ScalableBloomFilter.NewDefaultScalableBloomFilter(0.1); Assert.AreEqual(0.1, f.FP); Assert.AreEqual(10000u, f.Hint); Assert.AreEqual(0.8, f.R); }
public void TestNewDefaultScalableBloomFilter() { var f = ScalableBloomFilter.NewDefaultScalableBloomFilter(0.1); Assert.AreEqual(0.1, f.FP); Assert.AreEqual(10000u, f.Hint); Assert.AreEqual(0.8, f.R); }