Module:lic-pron/testcases
Jump to navigation
Jump to search
- The following documentation is located at Module:lic-pron/testcases/documentation. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • tested module • sandbox
This is the unit-testing module for Module:lic-pron.
All tests passed. (refresh)
Text | Expected | Actual | Differs at | |
---|---|---|---|---|
aeublaeu | /ʔaːu˥˧.plaːu˥˧/ | /ʔaːu˥˧.plaːu˥˧/ | ||
ang | /ʔaŋ˥˧/ | /ʔaŋ˥˧/ | ||
baisyas | /pai˩.ˀja˩/ | /pai˩.ˀja˩/ | ||
bheenxaek | /ɓeːn˥.ʔaːk˥/ | /ɓeːn˥.ʔaːk˥/ | ||
bheuu'uuem | /ɓeɯ˥˧.ʔɯːm˥˧/ | /ɓeɯ˥˧.ʔɯːm˥˧/ | ||
bheuucai | /ɓeɯ˥˧.t͡sʰai˥˧/ | /ɓeɯ˥˧.t͡sʰai˥˧/ | ||
cahwan | /t͡sʰa˥˧.hʷan˥˧/ | /t͡sʰa˥˧.hʷan˥˧/ | ||
caty | /t͡sʰac˥/ | /t͡sʰac˥/ | ||
cokran | /t͡sʰok˥.ran˥˧/ | /t͡sʰok˥.ran˥˧/ | ||
copceix | /t͡sʰop˥.t͡sʰei˥/ | /t͡sʰop˥.t͡sʰei˥/ | ||
copcun | /t͡sʰop˥.t͡sʰun˥˧/ | /t͡sʰop˥.t͡sʰun˥˧/ | ||
dauxmuty | /tau˥.muc˥/ | /tau˥.muc˥/ | ||
dheeng'hwoek | /ɗeːŋ˥˧.hʷoːk˥/ | /ɗeːŋ˥˧.hʷoːk˥/ | ||
dhienxos | /ɗiːn˥.ʔoː˩/ | /ɗiːn˥.ʔoː˩/ | ||
dhuaxo | /ɗua˥.ʔoː˥˧/ | /ɗua˥.ʔoː˥˧/ | ||
dza | /za˥˧/ | /za˥˧/ | ||
fan | /fan˥˧/ | /fan˥˧/ | ||
ghoeis | /ɡoːi˩/ | /ɡoːi˩/ | ||
gomfous | /kom˥˧.fou˩/ | /kom˥˧.fou˩/ | ||
goppgaus | /kop˥˧.kau˩/ | /kop˥˧.kau˩/ | ||
haekkdziengx | /haːk˥˧.ziːŋ˥/ | /haːk˥˧.ziːŋ˥/ | ||
hleny | /ɬeɲ˥˧/ | /ɬeɲ˥˧/ | ||
hluuek'ueng | /ɬɯːk˥.ʔuːŋ˥˧/ | /ɬɯːk˥.ʔuːŋ˥˧/ | ||
huen'ghwous | /huːn˥˧.ɡʷou˩/ | /huːn˥˧.ɡʷou˩/ | ||
ka'ngais | /kʰa˥˧.ŋai˩/ | /kʰa˥˧.ŋai˩/ | ||
laeis | /laːi˩/ | /laːi˩/ | ||
laeppnoms | /laːp˥˧.nom˩/ | /laːp˥˧.nom˩/ | ||
li'ek | /li˥˧.ʔek˥/ | /li˥˧.ʔek˥/ | ||
lueks | /luːk˩/ | /luːk˩/ | ||
lokkzeuu | /lok˥˧.t͡seɯ˥˧/ | /lok˥˧.t͡seɯ˥˧/ | ||
man'ghui | /man˥˧.ɡui˥˧/ | /man˥˧.ɡui˥˧/ | ||
na | /na˥˧/ | /na˥˧/ | ||
nga'ngom | /ŋa˥˧.ŋom˥˧/ | /ŋa˥˧.ŋom˥˧/ | ||
nyuttnyutt | /ɲut˥˧.ɲut˥˧/ | /ɲut˥˧.ɲut˥˧/ | ||
oep | /ʔoːp˥/ | /ʔoːp˥/ | ||
pasdang | /pʰa˩.taŋ˥˧/ | /pʰa˩.taŋ˥˧/ | ||
qieng | /t͡sʰiːŋ˥˧/ | /t͡sʰiːŋ˥˧/ | ||
raeisuet | /raːi˩.ʔuːt˥/ | /raːi˩.ʔuːt˥/ | ||
tau'uet | /tʰau˥˧.ʔuːt˥/ | /tʰau˥˧.ʔuːt˥/ | ||
tietttoengs | /tʰiːt˥˧.tʰoːŋ˩/ | /tʰiːt˥˧.tʰoːŋ˩/ | ||
toxlaxgix | /tʰoː˥.la˥.ki˥/ | /tʰoː˥.la˥.ki˥/ | ||
tom'oms | /tʰom˥˧.ʔom˩/ | /tʰom˥˧.ʔom˩/ | ||
tuuenkuis | /tʰɯːn˥˧.kʰui˩/ | /tʰɯːn˥˧.kʰui˩/ | ||
tun'uueks | /tʰun˥˧.ʔɯːk˩/ | /tʰun˥˧.ʔɯːk˩/ | ||
zuudhangx | /t͡sɯ˥.ɗaŋ˥/ | /t͡sɯ˥.ɗaŋ˥/ | ||
tunhlai | /tʰun˥˧.ɬai˥˧/ | /tʰun˥˧.ɬai˥˧/ | ||
datygeekhla | /tac˥.keːk˥.ɬa˥˧/ | /tac˥.keːk˥.ɬa˥˧/ |
local p = require('Module:UnitTests')
local m = require('Module:lic-pron')
function p:ipa(text, expected)
self:equals(text, m.ipa(text), "/" .. expected .. "/")
end
function p:test_ipa()
self:ipa("aeublaeu", "ʔaːu˥˧.plaːu˥˧")
self:ipa("ang", "ʔaŋ˥˧")
self:ipa("baisyas", "pai˩.ˀja˩")
self:ipa("bheenxaek", "ɓeːn˥.ʔaːk˥")
self:ipa("bheuu'uuem", "ɓeɯ˥˧.ʔɯːm˥˧")
self:ipa("bheuucai", "ɓeɯ˥˧.t͡sʰai˥˧")
self:ipa("cahwan", "t͡sʰa˥˧.hʷan˥˧")
self:ipa("caty", "t͡sʰac˥")
self:ipa("cokran", "t͡sʰok˥.ran˥˧")
self:ipa("copceix", "t͡sʰop˥.t͡sʰei˥")
self:ipa("copcun", "t͡sʰop˥.t͡sʰun˥˧")
self:ipa("dauxmuty", "tau˥.muc˥")
self:ipa("dheeng'hwoek", "ɗeːŋ˥˧.hʷoːk˥")
self:ipa("dhienxos", "ɗiːn˥.ʔoː˩")
self:ipa("dhuaxo", "ɗua˥.ʔoː˥˧")
self:ipa("dza", "za˥˧")
self:ipa("fan", "fan˥˧")
self:ipa("ghoeis", "ɡoːi˩")
self:ipa("gomfous", "kom˥˧.fou˩")
self:ipa("goppgaus", "kop˥˧.kau˩")
self:ipa("haekkdziengx", "haːk˥˧.ziːŋ˥")
self:ipa("hleny", "ɬeɲ˥˧")
self:ipa("hluuek'ueng", "ɬɯːk˥.ʔuːŋ˥˧")
self:ipa("huen'ghwous", "huːn˥˧.ɡʷou˩")
self:ipa("ka'ngais", "kʰa˥˧.ŋai˩")
self:ipa("laeis", "laːi˩")
self:ipa("laeppnoms", "laːp˥˧.nom˩")
self:ipa("li'ek", "li˥˧.ʔek˥")
self:ipa("lueks", "luːk˩")
self:ipa("lokkzeuu", "lok˥˧.t͡seɯ˥˧")
self:ipa("man'ghui", "man˥˧.ɡui˥˧")
self:ipa("na", "na˥˧")
self:ipa("nga'ngom", "ŋa˥˧.ŋom˥˧")
self:ipa("nyuttnyutt", "ɲut˥˧.ɲut˥˧")
self:ipa("oep", "ʔoːp˥")
self:ipa("pasdang", "pʰa˩.taŋ˥˧")
self:ipa("qieng", "t͡sʰiːŋ˥˧")
self:ipa("raeisuet", "raːi˩.ʔuːt˥")
self:ipa("tau'uet", "tʰau˥˧.ʔuːt˥")
self:ipa("tietttoengs", "tʰiːt˥˧.tʰoːŋ˩")
self:ipa("toxlaxgix", "tʰoː˥.la˥.ki˥")
self:ipa("tom'oms", "tʰom˥˧.ʔom˩")
self:ipa("tuuenkuis", "tʰɯːn˥˧.kʰui˩")
self:ipa("tun'uueks", "tʰun˥˧.ʔɯːk˩")
self:ipa("zuudhangx", "t͡sɯ˥.ɗaŋ˥")
self:ipa("tunhlai", "tʰun˥˧.ɬai˥˧")
self:ipa("datygeekhla", "tac˥.keːk˥.ɬa˥˧")
end
return p