summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2008-05-08 23:24:44 +0200
committerAndreas Gohr <andi@splitbrain.org>2008-05-08 23:24:44 +0200
commit879205e1ab4bfb4518e96376849495cb62329f7c (patch)
tree0cfa8ece30e417e5bb5166678666e6f2c0bcce9e /_test
parentd2ea3363acdd760155ad4e66aa18eb6147902290 (diff)
downloadrpg-879205e1ab4bfb4518e96376849495cb62329f7c.tar.gz
rpg-879205e1ab4bfb4518e96376849495cb62329f7c.tar.bz2
Japanese romanization update
Down to 57 fails darcs-hash:20080508212444-7ad00-16286e9f5be2bbbd3069d5c22ab8c270b2e1b23e.gz
Diffstat (limited to '_test')
-rw-r--r--_test/cases/inc/utf8_romanize.test.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/_test/cases/inc/utf8_romanize.test.php b/_test/cases/inc/utf8_romanize.test.php
index e1c1be7c2..08f561f5c 100644
--- a/_test/cases/inc/utf8_romanize.test.php
+++ b/_test/cases/inc/utf8_romanize.test.php
@@ -12,12 +12,14 @@ class utf8_substr_test extends UnitTestCase {
*/
function test_japanese(){
$tests = file(dirname(__FILE__).'/utf8_kanaromaji.txt');
+ $line = 1;
foreach($tests as $test){
list($jap,$rom) = explode(';',trim($test));
$chk = utf8_romanize($jap);
- #if($chk != $rom) echo "$jap\t->\t$chk\t!=\t$rom\n";
+ #if($chk != $rom) echo "$jap\t->\t$chk\t!=\t$rom\t($line)\n";
$this->assertEqual($chk,$rom);
+ $line++;
}
}
}