parser = sequence(ch("a"), h_end_p()); } public function testSuccess() { echo 'in testSuccess\n'; // $result = h_parse($this->parser, "a"); // TODO: fixme when h_ch is fixed // $this->assertEquals(98, $result); } /* public function testFailure() { $result = h_parse($this->parser, "aa"); $this->assertEquals(NULL, $result); } */ } ?>