Module:pag-pron/testcases

Hello, you have come here looking for the meaning of the word Module:pag-pron/testcases. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:pag-pron/testcases, but we will also tell you about its etymology, its characteristics and you will know how to say Module:pag-pron/testcases in singular and plural. Everything you need to know about the word Module:pag-pron/testcases you have here. The definition of the word Module:pag-pron/testcases will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:pag-pron/testcases, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

1 of 12 tests failed. (refresh)

TextExpectedActual
test_phonetic_pron:
Passedagewaˈɡɨʊ̯aˈɡɨʊ̯
Passedbaleybaˈlɨɪ̯baˈlɨɪ̯
Passedbituenbɪˈtwɨnbɪˈtwɨn
PassedCamilingka.mɪˈlɪŋka.mɪˈlɪŋ
PassedCariñokaˈɾɪ.njokaˈɾɪ.njo
PassedDiosˈd͡ʒʊsˈd͡ʒʊs
FailedEstados Unidosɪsˌta.dʊs ʊˈni.dʊsɪsˌta.dʊs ʊˈnɪ.dʊs
Passedestasionɪs.taˈʃʊnɪs.taˈʃʊn
Passedinomɪˈnʊmɪˈnʊm
Passedsaysaɪ̯saɪ̯
Passedwawakwaˈwakwaˈwak
Passedyabyabjabˈjabjabˈjab

local tests = require("Module:UnitTests")
local m_pag_pron = require("Module:pag-pron")

local function pag_IPA(IPA)
	return "<span class='IPA'>" .. IPA .. "</span>"
end

function tests:check_phonetic_ipa(word, expected, respelling)
	self:equals(
		"]",
		m_pag_pron.IPA(respelling, true),
		expected,
		{ display = tag_IPA }
	)
end

function tests:test_phonetic_pron()
	local examples = {

        { "agew","aˈɡɨʊ̯","agë́w" },
        { "baley","baˈlɨɪ̯", "balë́y" },
        { "bituen","bɪˈtwɨn", "bituë́n" },
        { "Camiling","ka.mɪˈlɪŋ", "Camilíng" },
        { "Cariño","kaˈɾɪ.njo", "Cariño" },
        { "Dios","ˈd͡ʒʊs", "Dios" },
        { "Estados Unidos","ɪsˌta.dʊs ʊˈni.dʊs", "estados unidos" },
        { "estasion","ɪs.taˈʃʊn", "istasión"},
        { "inom","ɪˈnʊm", "inóm"},
        { "say","saɪ̯", "say"},
		{ "wawak","waˈwak", "wawák"},
		{ "yabyab", "jabˈjab", "yabyáb"},
	}
	self:iterate(examples, "check_phonetic_ipa")
end


return tests