def test_watson(self): """ elementary - watson """ parts = [letter for letter in utf8.get_letters_elementary_iterable(u'கழுதை')] actual = [u'க்', u'அ', u'ழ்', u'உ', u'த்', u'ஐ'] self.assertEqual(parts,actual) parts2 = utf8.get_letters_elementary(u'கழுதை') self.assertEqual(parts2,actual)
def test_watson(self): """ elementary - watson """ parts = [letter for letter in utf8.get_letters_elementary_iterable(u'கழுதை')] actual = [u'க்', u'அ', u'ழ்', u'உ', u'த்', u'ஐ'] self.assertEqual(parts,actual) parts2 = utf8.get_letters_elementary(u'கழுதை') self.assertEqual(parts2,actual)
def test_watson(self): """ elementary - watson """ parts = [letter for letter in utf8.get_letters_elementary_iterable(u"கழுதை")] actual = [u"க்", u"அ", u"ழ்", u"உ", u"த்", u"ஐ"] self.assertEqual(parts, actual) parts2 = utf8.get_letters_elementary(u"கழுதை") self.assertEqual(parts2, actual)
def test_watson(self): """ elementary - watson """ parts = [letter for letter in utf8.get_letters_elementary_iterable(u"கழுதை")] actual = [u"க்", u"அ", u"ழ்", u"உ", u"த்", u"ஐ"] self.assertEqual(parts, actual) parts2 = utf8.get_letters_elementary(u"கழுதை") self.assertEqual(parts2, actual)