Example #1
0
 def test_word_with_hyphen(self):
     self.assertEqual(roman_to_yiddish("zoo-gortn"), "זאׇאׇ־גאׇרטן")
Example #2
0
 def do_round_trip_and_compare(self, word):
     yiddish = roman_to_yiddish(word)
     result = yiddish_to_roman(yiddish)
     self.assertEqual(result, word)
Example #3
0
 def test_word_with_melupm_vov(self):
     self.assertEqual(roman_to_yiddish("tuung"), "טוּונג")
Example #4
0
 def test_word_with_straightforward_vowels(self):
     self.assertEqual(roman_to_yiddish("golmeser"), "גאׇלמעסער")
Example #5
0
 def test_word_with_implied_vowels(self):
     self.assertEqual(roman_to_yiddish("khaverte"), "חבֿרטע")
Example #6
0
 def test_simple_two_word_phrase(self):
     self.assertEqual(roman_to_yiddish("dos broyt"), "דאׇס ברױט")
Example #7
0
 def test_simple_word(self):
     self.assertEqual(roman_to_yiddish("yiddish"), "ייִדיש")