def test_braille_mapping(self): expected = [ tabraille.table["ந"], tabraille.table["ஆ"], tabraille.table["ன"], tabraille.table["்"], ] self.assertListEqual(tabraille.map_to_braille("நான்"), expected)
def test_braille_mapping2(self): word = 'கப்பல்' letters = ['க', 'ப', '்', 'ப', 'ல', '்'] expected = [tabraille.table[l] for l in letters] self.assertEqual(tabraille.map_to_braille(word), expected)
def test_braille_mapping(self): expected = [ tabraille.table['ந'], tabraille.table['ஆ'], tabraille.table['ன'], tabraille.table['்'] ] self.assertListEqual(tabraille.map_to_braille('நான்'), expected)
def test_braille_mapping2(self): word = "கப்பல்" letters = ["க", "ப", "்", "ப", "ல", "்"] expected = [tabraille.table[l] for l in letters] self.assertEqual(tabraille.map_to_braille(word), expected)