示例#1
0
 public function testTransliteration()
 {
     $this->assertEquals("Privet l'udi!", Inflector::transliterate("Привет люди!"), 'letter ju');
     $this->assertEquals("Horoshij", Inflector::transliterate("Хороший"), 'letter j');
     $this->assertEquals("Приветы :)", Inflector::transliterate("Privjety :)", "ru"), 'revert transliteration');
 }