Example #1
0
 public function setUp()
 {
     parent::setUp();
     $this->set = new BloomFilter('TestBloomFilter', 100, 2);
     $this->set->setClient($this->getRedisClient());
     $this->set->reset();
 }
Example #2
0
 public function setUp()
 {
     parent::setUp();
     $this->set = new DensitySet('theNameOfTheDensitySet');
     $this->set->setClient($this->getRedisClient());
     $this->set->removeAll();
 }