diff --git a/Tests/verifyTest.php b/Tests/verifyTest.php index 67cbe54..0498d4e 100644 --- a/Tests/verifyTest.php +++ b/Tests/verifyTest.php @@ -58,6 +58,21 @@ class test_verify extends PHPUnit_Framework_TestCase } + ///////////////// + // STRINGS // + ///////////////// + public function test_staticIsAllowedChars_1 () + { + $res = \verify::staticIsAllowedChars ("éléphant", "abcd"); + $this->assertSame ($res, false); + } + + public function test_staticIsAllowedChars_2 () + { + $res = \verify::staticIsAllowedChars ("éléphant", "anhplté"); + $this->assertSame ($res, true); + } + ///////////////// // NUMBERS // /////////////////