Module:User:Suzukaze-c/zh-usex/testcases

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

6 of 6 tests failed. (refresh)

TextExpectedActualComments
test_all:
Failed一,二。三(四五)六七八九十{"四五六七八九十", false, "vē, vē. vē (vēvē) vēvēvēvēvē"}0tr test: with punctuation
Failed哪些 多面體 由 十個 面 組成?{"哪些多面體十個組成?", "哪些多面体十个组成?", "vēvē vēvēvē vē vēvē vē vēvē?"}0m
tr test: pinyin
Failed佢等{dei6} 聽{ting1}日 冇 嘢 做。part-time{paat1 taai1}{"佢等聽日part-time", "佢等听日part-time", "ve1 dei6 ting1 ve1 ve1 ve1 ve1. paat1 taai1"}0c
tr test: jyutping
Failed^林 教授 先 去 點菜,in 細漢kiáⁿ teh 讀 國校仔 2 年á niā-niā,iah tòe 去 看。{"教授點菜in細漢kiáⁿ teh國校仔2年á niā-niāiah tòe。", "教授点菜in细汉kiáⁿ teh国校仔2年á niā-niāiah tòe。", "Ve ve-ve ve ve ve-ve, ve ve-ve-kiáⁿ teh ve ve-ve-ve 2 á niā-niā, iah tòe ve ve."}0mn
tr test: peh-oe-ji
Failed嘛{ma} 會{e} 共{ka} 火{hoe} 翕{hip} 化{hoa}--去{khi},所{soo}以{i} 後{au}--來{lai} 共{kai} 號{ho} 做{cho} 窒{chek}素{so}{"化去所以後來窒素", "化去所以后来窒素", "ma e ka hoe hip hoa--khi, soo-i au--lai kai ho cho chek-so"}0mn
tr test: peh-oe-ji
Failed停兒,児,児{"停兒", "仃児", "vēvē, vē, vē"}0
syntax test: auto bolding and change simplified

local tests = require('Module:UnitTests')
local m_zh_usex = require('Module:User:Suzukaze-c/zh-usex')

tests.comments = 1

function tests:check_FOO(d)
	self:equals_deep(d.pre, 0, d.post, {  = (d.lect and d.lect .. '<br>' or '') .. (d.pagename and d.pagename .. '<br>' or '') .. d.com })
end

function tests:test_all()
	self:check_FOO({
		lect = false,
		pre = '一,二。三(四五)六七八九十',
		post = {
			'],]。](])]',
			false,
			'vē, vē. vē (vēvē) vēvēvēvēvē',
		},
		com = 'tr test: with punctuation',
	})

	self:check_FOO({
		lect = 'm',
		pre = '哪些 多面體 由 十個 面 組成?',
		post = {
			']]]]]]?',
			']]]]]]?',
			'vēvē vēvēvē vē vēvē vē vēvē?',
		},
		com = 'tr test: pinyin',
	})

	self:check_FOO({
		lect = 'c',
		pre = '佢等{dei6} 聽{ting1}日 冇 嘢 做。part-time{paat1 taai1}',
		post = {
			']]]]]。]',
			']]]]]。]',
			've1 dei6 ting1 ve1 ve1 ve1 ve1. paat1 taai1',
		},
		com = 'tr test: jyutping',
	})

	self:check_FOO({
		lect = 'mn',
		pre = '^林 教授 先 去 點菜,in 細漢kiáⁿ teh 讀 國校仔 2 年á niā-niā,iah tòe 去 看。',
		post = {
			']]]]],]] ]]]]] ],] ]]]。',
			']]]]],]] ]]]]] ],] ]]]。',
			'Ve ve-ve ve ve ve-ve, ve ve-ve-kiáⁿ teh ve ve-ve-ve 2 á niā-niā, iah tòe ve ve.',
		},
		com = 'tr test: peh-oe-ji',
	})

	self:check_FOO({
		lect = 'mn',
		pre = '嘛{ma} 會{e} 共{ka} 火{hoe} 翕{hip} 化{hoa}--去{khi},所{soo}以{i} 後{au}--來{lai} 共{kai} 號{ho} 做{cho} 窒{chek}素{so}',
		post = {
			']]]]]],]]]]]]',
			']]]]]],]]]]]]',
			'ma e ka hoe hip hoa--khi, soo-i au--lai kai ho cho chek-so',
		},
		com = 'tr test: peh-oe-ji',
	})

	self:check_FOO({
		pagename = '児',
		lect = false,
		pre = '停兒,児,児',
		post = {
			'],],]',
			'],],]',
			'vēvē, vē, vē',
		},
		com = 'syntax test: auto bolding and change simplified',
	})
end
 
return tests