/** * @bug 1 */ function testSelectWithZeroValue() { $c = new \HandlerSocket\ReadSocket(); $c->connect(); $id = $c->getIndexId($this->db, 'read1', '', 'float'); $c->select($id, '=', array(100)); $response = $c->readResponse(); $this->assertEquals(array(array(0)), $response); }