Exemplo n.º 1
0
 def test_arabic_to_english(self):
     arabic = u"\u0645\u0631\u062d\u0628\u0627"
     english = "marhaban"
     pattern = gtap(arabic, from_="arabic", to_="english")
     self.assertTrue(match(pattern, english))
Exemplo n.º 2
0
 def test_arabic_to_english(self):
     arabic = u"\u0645\u0631\u062d\u0628\u0627"
     english = "marhaban"
     pattern = gtap(arabic, from_="arabic", to_="english")
     self.assertTrue(match(pattern, english))
Exemplo n.º 3
0
 def test_english_to_arabic(self):
     arabic = u"\u0645\u0631\u062d\u0628\u0627"
     english = "marhaban"
     pattern = gtap(english, from_="english", to_="arabic")
     self.assertTrue(match(pattern, arabic))
Exemplo n.º 4
0
 def test_english_to_arabic(self):
     arabic = u"\u0645\u0631\u062d\u0628\u0627"
     english = "marhaban"
     pattern = gtap(english, from_="english", to_="arabic")
     self.assertTrue(match(pattern, arabic))