示例#1
0
 public function testOffsetGet()
 {
     $this->rediska->addToSortedSet('test', 123, 1);
     $this->rediska->addToSortedSet('test', 456, 2);
     $this->assertEquals(123, $this->set[1]);
     $this->assertEquals(456, $this->set[2]);
 }