Module:nan-pron-Leizhou/testcases
Appearance
- පහත දැක්වෙන උපදෙස්, Module:nan-pron-Leizhou/testcases/documentation හි පිහිටා ඇත. Module:nan-pron-Leizhou/testcases/documentation]]. [සංස්කරණය]
- ප්රයෝජනවත් සබැඳි: root page • root page’s subpages • සබැඳි • transclusions • tested module • sandbox
This is the unit-testing module for Module:nan-pron-Leizhou.
2 of 14 tests failed. (refresh)
Text | Expected | Actual | Differs at | |
---|---|---|---|---|
xieng1 ku1 | /ɕieŋ³⁵⁻³³ kʰu³⁵/ | /ɕieŋ³⁵⁻³³ kʰu³⁵/ | ||
soi1 tao5 | /sɔi³⁵⁻³³ tʰau²²/ | /sɔi³⁵⁻³³ tʰau²²/ | ||
geu1 so2 | /kɛu³⁵⁻³³ sɔ³¹/ | /kɛu³⁵⁻³³ sɔ³¹/ | ||
su1 bhang6 | /su³⁵⁻³³ baŋ³³/ | /su³⁵⁻³³ baŋ³³/ | ||
xieng1 xi3 | /ɕieŋ³⁵⁻³³ ɕi²¹/ | /ɕieŋ³⁵⁻³³ ɕi²¹/ | ||
gam1 lu7 | /kam³⁵⁻³³ lu⁵⁵/ | /kam³⁵⁻³³ lu⁵⁵/ | ||
sua1 dib4 | /sua³⁵⁻³³ tip⁵/ | /sua³⁵⁻³³ tip̚⁵/ | 32 | |
se1 ieg8 | /sɛ³⁵⁻³³ iek²/ | /sɛ³⁵⁻³³ iek̚²/ | 31 | |
bi1 qio6 gi5 | /pi³⁵⁻³³ t͡ɕʰiɔ³³ ki²²/ | /pi³⁵⁻³³ t͡ɕʰiɔ³³ ki²²/ | ||
bi2# ka1 ue6 qiu2 | /pi³¹ kʰa³⁵⁻³³ uɛ³³ t͡ɕʰiu³¹/ | /pi³¹ kʰa³⁵⁻³³ uɛ³³ t͡ɕʰiu³¹/ | ||
bi3 liang5 bi3 zua5 | /pi²¹⁻⁵⁵ liaŋ²² pi²¹⁻⁵⁵ t͡sua²²/ | /pi²¹⁻⁵⁵ liaŋ²² pi²¹⁻⁵⁵ t͡sua²²/ | ||
bi3 liang5 | /pi²¹⁻⁵⁵ liaŋ²²/ | /pi²¹⁻⁵⁵ liaŋ²²/ | ||
pi1# gao1 gao1 | /pʰi³⁵ kau³⁵⁻³³ kau³⁵/ | /pʰi³⁵ kau³⁵⁻³³ kau³⁵/ | ||
pi1 kang1 mo5 | /pʰi³⁵⁻³³ kʰaŋ³⁵⁻³³ mɔ²²/ | /pʰi³⁵⁻³³ kʰaŋ³⁵⁻³³ mɔ²²/ |
local p = require('Module:UnitTests')
local m = require('Module:nan-pron-Leizhou')
function p:ipa(text, expected)
self:equals(text, '<span class="IPA">' .. m.ipa(text) .. '</span>', '<span class="IPA">/' .. expected .. '/</span>')
end
function p:test_ipa()
self:ipa('xieng1 ku1', 'ɕieŋ³⁵⁻³³ kʰu³⁵')
self:ipa('soi1 tao5', 'sɔi³⁵⁻³³ tʰau²²')
self:ipa('geu1 so2', 'kɛu³⁵⁻³³ sɔ³¹')
self:ipa('su1 bhang6', 'su³⁵⁻³³ baŋ³³')
self:ipa('xieng1 xi3', 'ɕieŋ³⁵⁻³³ ɕi²¹')
self:ipa('gam1 lu7', 'kam³⁵⁻³³ lu⁵⁵')
self:ipa('sua1 dib4', 'sua³⁵⁻³³ tip⁵')
self:ipa('se1 ieg8', 'sɛ³⁵⁻³³ iek²')
self:ipa('bi1 qio6 gi5', 'pi³⁵⁻³³ t͡ɕʰiɔ³³ ki²²')
self:ipa('bi2# ka1 ue6 qiu2', 'pi³¹ kʰa³⁵⁻³³ uɛ³³ t͡ɕʰiu³¹')
self:ipa('bi3 liang5 bi3 zua5', 'pi²¹⁻⁵⁵ liaŋ²² pi²¹⁻⁵⁵ t͡sua²²')
self:ipa('bi3 liang5', 'pi²¹⁻⁵⁵ liaŋ²²')
self:ipa('pi1# gao1 gao1', 'pʰi³⁵ kau³⁵⁻³³ kau³⁵')
self:ipa('pi1 kang1 mo5', 'pʰi³⁵⁻³³ kʰaŋ³⁵⁻³³ mɔ²²')
end
return p