verify test adding

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4303 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2018-07-16 14:53:48 +00:00
parent 14ef974d35
commit 338f4f4063

View File

@@ -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 //
/////////////////