Module:ky-IPA/testcases

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

All tests passed. (refresh)

TextExpectedActual
test_pron:
Passedтаенеtɑjenetɑjene
PassedЕнисейjenisejjenisej
Passedкыргызqɯrʁɯzqɯrʁɯz

local tests = require("Module:UnitTests")
local m_ky_ipa = require("Module:ky-IPA")

function tests:check_phonetic(word, expected, respelling)
	self:equals(
		"]",
		m_ky_ipa.phonetic(respelling or word),
		expected,
		{ display = tag_IPA }
	)
end

function tests:test_pron()
	local examples = {
		{ "таене", "tɑjene" },
		{ "Енисей", "jenisej" },
		{ "кыргыз", "qɯrʁɯz" },

	}
	self:iterate(examples, "check_phonetic")
end

return tests