mirror of
https://github.com/e107inc/e107.git
synced 2025-08-15 11:04:18 +02:00
Issue #4101 toASCII characters added and test added to confirm.
This commit is contained in:
@@ -185,12 +185,24 @@ TMP;
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
*/
|
||||
public function testToASCII()
|
||||
{
|
||||
|
||||
}
|
||||
$array = array(
|
||||
array('input' => 'ľ, ú, ŕ, ô, ť', 'expected' => 'l, u, r, o, t'),
|
||||
);
|
||||
|
||||
foreach($array as $arr)
|
||||
{
|
||||
$result = $this->tp->toASCII($arr['input']);
|
||||
$this->assertEquals($arr['expected'], $result);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
/*
|
||||
public function testToNumber()
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user