def test_fcns(self): self.assertEqual(utf8.mei(0), u"க்") self.assertEqual(utf8.uyir(0), u"அ") self.assertEqual(utf8.uyirmei_constructed(1, 1), u"\u0b9a\u0bbe") self.assertEqual(utf8.agaram(0), u"க") self.assertEqual(utf8.istamil_prefix(u"not a tamil word"), False) karuppan = utf8.uyirmei_constructed(1, 1) + u"nottamil" self.assertEqual(utf8.istamil_prefix(karuppan), True)
def test_fcns(self): self.assertEqual( utf8.mei(0), u"க்" ) self.assertEqual( utf8.uyir(0), u"அ" ) self.assertEqual( utf8.uyirmei_constructed(1,1), u"\u0b9a\u0bbe" ) self.assertEqual( utf8.agaram(0), u"க" ) self.assertEqual( utf8.istamil_prefix(u"not a tamil word"),False) karuppan = utf8.uyirmei_constructed(1,1)+u"nottamil" self.assertEqual( utf8.istamil_prefix(karuppan),True)