def test_translate_kolbice(self):
     self.assertRaises(TypeError, extend.translate('kol123bice'))
示例#2
0
 def test_translate_koala(self):
     self.assertEqual(extend.translate('koala'), 'kovoavalava')
示例#3
0
 def test_translate_1234(self):
     self.assertEqual(extend.translate(1234), '1234')
示例#4
0
 def test_translate_input_multipliedvovels(self):
     self.assertEqual(extend.translate('alma'), 'avalmava')
示例#5
0
 def test_translate_kolbice(self):
     self.assertEqual(extend.translate('all'), 'avall')
示例#6
0
 def test_translate_bemutatkozik(self):
     self.assertEqual(extend.translate('7'), '7')
示例#7
0
 def test_translate_kolbice(self):
     self.assertEqual(extend.translate('kolbice'), 'kovolbiviceve')
示例#8
0
	def test_translate_digit_inside(self):
		self.assertFalse(extend.translate("Heyy12Yol3"))
示例#9
0
	def test_translate_latin_chars(self):
		self.assertEqual(extend.translate("ő és bátyja"), "ővő évés bávátyjava")
示例#10
0
	def test_translate_emptystring(self):
		self.assertEqual(extend.translate(''), '')
示例#11
0
	def test_translate_integer(self):
		self.assertFalse(extend.translate(123456))
示例#12
0
 def test_translate_aaaa(self):
     self.assertEqual(extend.translate("aaaa"), "avaavaavaava")
示例#13
0
 def test_translate_aaee(self):
     self.assertEqual(extend.translate("aaee"), "avaavaeveeve")
示例#14
0
 def test_translate_bbb(self):
     self.assertEqual(extend.translate("bbb"), "bbb")
示例#15
0
 def test_translate_bemutatkozik_b(self):
     self.assertEqual(extend.translate('alma'), 'avalmava')
示例#16
0
	def test_translate_sentence(self):
		self.assertEqual(extend.translate("Hello, there!"), "Hevellovo, thevereve!")
示例#17
0
 def test_translate_kolbice(self):
     self.assertEqual(extend.translate('kicsi'), 'kivicsivi')
示例#18
0
	def test_translate_novowel(self):
		self.assertEqual(extend.translate('ptgrx'), 'ptgrx')
示例#19
0
 def test_translate_bemutatkozik(self):
     self.assertEqual(extend.translate('bemutatkozik'), 'bevemuvutavatkovozivik')
示例#20
0
 def test_translate_similar_vowel(self):
     self.assertEqual(extend.translate('lehel'), 'levehevel')
示例#21
0
 def test_translate_alma(self):
     self.assertEqual(extend.translate('alma'), 'avalmava')
示例#22
0
 def test_translate_kolbasz(self):
     self.assertEqual(extend.translate('kolbász'), 'kovolbávász')