Module:pag-pron/sandbox/testcases

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

10 of 11 tests failed. (refresh)

TextExpectedActual
test_phonetic_pron:
Failedagewaˈgɨʊ̯a.ɡɨ́ʊ
Failedbaleybaˈlɨba.lɨ́ɪ
Failedbituenbɪˈtwɨnbɪ.twɨ́n
FailedCamilingka.mɪˈlɪŋka.mɪ.lɪ́ŋ
FailedCariñokaˈɾɪ.njoka.ɾɪ.njo
PassedDiosd͡ʒʊsd͡ʒʊs
FailedEstados Unidosɪsˈta.dʊs ʊˈni.dʊsɪs.ta.dʊs ʊ.nɪ.dʊs
Failedinomiˈnʊmɪ.nʊ́m
Failedsaysaɪ̯saŷ
Failedwawakwaˈwakwa.wák
Failedyabyabjabˈjabjab.jáb

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

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ˈgɨʊ̯","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" },
        { "inom","iˈ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