示例#1
0
 def test_diphthongs_finder7(self):
     """ strong_accented/weak -> náutico """
     assert Word.diphthong_finder("á-u") == "áu"
示例#2
0
 def test_diphthongs_finder8(self):
     """ same -> leer, chiita, zoológico """
     assert Word.diphthong_finder("e-e") == "e-e"
     assert Word.diphthong_finder("i-i") == "i-i"
     assert Word.diphthong_finder("A-ha") == "A-ha"
     assert Word.diphthong_finder("o-ho") == "o-ho"
示例#3
0
 def test_diphthongs_finder5(self):
     """ weak/aitch/weak -> prohibir """
     assert Word.diphthong_finder("o-hi") == "ohi"
示例#4
0
 def test_diphthongs_finder6(self):
     """ strong/weak -> aire """
     assert Word.diphthong_finder("a-i") == "ai"
示例#5
0
 def test_diphthongs_finder3(self):
     """ weak/weak -> ciudad """
     assert Word.diphthong_finder("i-u") == "iu"
示例#6
0
 def test_diphthongs_finder4(self):
     """ weak/weak_accented -> muerciélago """
     assert Word.diphthong_finder("i-é") == "ié"
示例#7
0
 def test_diphthongs_finder2(self):
     """ weak_special/strong -> agüero """
     assert Word.diphthong_finder("ü-e") == "üe"
示例#8
0
 def test_diphthongs_finder1(self):
     """ weak/strong -> especias """
     assert Word.diphthong_finder("i-a") == "ia"
示例#9
0
 def test_diphthongs_finder11(self):
     """ weak_accented/strong -> sonríe """
     assert Word.diphthong_finder("í-e") == "í-e"
     assert Word.diphthong_finder("ú-a") == "ú-a"
示例#10
0
 def test_diphthongs_finder10(self):
     """ strong/weak_accented -> país """
     assert Word.diphthong_finder("a-í") == "a-í"
     assert Word.diphthong_finder("a-ú") == "a-ú"
示例#11
0
 def test_diphthongs_finder9(self):
     """ strong/strong -> fea """
     assert Word.diphthong_finder("e-a") == "e-a"
     assert Word.diphthong_finder("e-o") == "e-o"
     assert Word.diphthong_finder("e-a") == "e-a"
     assert Word.diphthong_finder("o-ó") == "o-ó"