verify test adding
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4303 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -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 //
|
// NUMBERS //
|
||||||
/////////////////
|
/////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user