diff --git a/src/bindings/php/Tests/ChRangeTest.php b/src/bindings/php/Tests/ChRangeTest.php new file mode 100644 index 0000000..b726a5d --- /dev/null +++ b/src/bindings/php/Tests/ChRangeTest.php @@ -0,0 +1,24 @@ +parser = h_ch_range("a", "c"); + } + public function testSuccess() + { + $result = h_parse($this->parser, "b"); + $this->assertEquals("b", $result); + } + public function testFailure() + { + $result = h_parse($this->parser, "d"); + $this->assertEquals(NULL, $result); + } +} +?> \ No newline at end of file