Beispiel #1
0
 def test_composite_conversion(self):
     from converters import convert_devanagari_to_braille
     COMPOSITE_INPUT = "ढ़िमफ़ोऩुड़"
     COMPOSITE_OUTPUT = "⠐⠻⠊⠍⠖⠕⠝⠥⠻"
     self.assertEqual(
         convert_devanagari_to_braille(COMPOSITE_INPUT)[0],
         COMPOSITE_OUTPUT)
Beispiel #2
0
 def test_comprehensive_conversion(self):
     from converters import convert_devanagari_to_braille
     self.assertEqual(
         convert_devanagari_to_braille(DV_SHIKSHAK_INPUT)[0],
         DV_SHIKSHAK_OUTPUT)
Beispiel #3
0
 def test_acharya_conversion(self):
     from converters import convert_devanagari_to_braille
     self.assertEqual(
         convert_devanagari_to_braille(DV_ACHARYA_INPUT)[0],
         DV_ACHARYA_OUTPUT)
Beispiel #4
0
 def test_composite_conversion(self):
     from converters import convert_devanagari_to_braille
     COMPOSITE_INPUT = "ढ़िमफ़ोऩुड़"
     COMPOSITE_OUTPUT = "⠐⠻⠊⠍⠖⠕⠝⠥⠻"
     self.assertEqual(convert_devanagari_to_braille(COMPOSITE_INPUT)[0],
                      COMPOSITE_OUTPUT)
Beispiel #5
0
 def test_comprehensive_conversion(self):
     from converters import convert_devanagari_to_braille
     self.assertEqual(convert_devanagari_to_braille(DV_SHIKSHAK_INPUT)[0],
                      DV_SHIKSHAK_OUTPUT)
Beispiel #6
0
 def test_acharya_conversion(self):
     from converters import convert_devanagari_to_braille
     self.assertEqual(convert_devanagari_to_braille(DV_ACHARYA_INPUT)[0],
                      DV_ACHARYA_OUTPUT)