function get_basic_hashes($iterations = 15000) { $result = array(); for ($i = 0; $i < $iterations; $i++) { $hash = new Rediska_Key_Hash($this->hash_variable . $i); $result[] = $hash->getValues(); } return $result; }
public function testGetValues() { $this->rediska->setToHash('test', array('a' => '1', 'b' => 2)); $reply = $this->hash->getValues(); $this->assertEquals(array('1', 2), $reply); }