Module:mnp-pron/testcases

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

This is the unit-testing module for Module:mnp-pron.

All tests passed. (refresh)

TextExpectedActualDiffers at
test_ipa:
Passedgṳ̌ing-só̤ng/kyiŋ²¹ sɔŋ⁵⁴//kyiŋ²¹ sɔŋ⁵⁴/
Passedgṳ̌ing-só̤ng/gṳ̌ing-só̤ng/kyiŋ²¹ sɔŋ⁵⁴/, /kyiŋ²¹ sɔŋ⁵⁴//kyiŋ²¹ sɔŋ⁵⁴/, /kyiŋ²¹ sɔŋ⁵⁴/
Passedgṳ̌ing só̤ng/kyiŋ²¹ sɔŋ⁵⁴//kyiŋ²¹ sɔŋ⁵⁴/
Passedmì-tê/mi⁴² tʰe³³//mi⁴² tʰe³³/
Passedngṳè/ŋyɛ⁴²//ŋyɛ⁴²/
Passedsáing-siu̿/saiŋ⁵⁴ siu³³//saiŋ⁵⁴ siu³³/
Passedce̿ng/t͡seiŋ³³//t͡seiŋ³³/



local p = require('Module:UnitTests')
local m = require('Module:mnp-pron')

function p:ipa(text, expected)
	self:equals(text, m.ipa(text), expected)
end

function p:test_ipa()
	self:ipa('gṳ̌ing-só̤ng', '/kyiŋ²¹ sɔŋ⁵⁴/')
	self:ipa('gṳ̌ing-só̤ng/gṳ̌ing-só̤ng', '/kyiŋ²¹ sɔŋ⁵⁴/, /kyiŋ²¹ sɔŋ⁵⁴/')
	self:ipa('gṳ̌ing só̤ng', '/kyiŋ²¹ sɔŋ⁵⁴/')
	self:ipa('mì-tê', '/mi⁴² tʰe³³/')
	self:ipa('ngṳè', '/ŋyɛ⁴²/')
	self:ipa('sáing-siu̿', '/saiŋ⁵⁴ siu³³/')
	self:ipa('ce̿ng', '/t͡seiŋ³³/')
end

return p