Module:User:Oyunqi/ug-common1/testcases

Hello, you have come here looking for the meaning of the word Module:User:Oyunqi/ug-common1/testcases. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:User:Oyunqi/ug-common1/testcases, but we will also tell you about its etymology, its characteristics and you will know how to say Module:User:Oyunqi/ug-common1/testcases in singular and plural. Everything you need to know about the word Module:User:Oyunqi/ug-common1/testcases you have here. The definition of the word Module:User:Oyunqi/ug-common1/testcases will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:User:Oyunqi/ug-common1/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_checkWord:
Passedئالما autobackback
Passedئالما autoىى
Passedئالماbackback
Passedئالماىى
Passedقازاقچە autobackback
Passedقازاقچە autoىى
Passedقازاقچەbackback
Passedقازاقچەىى

-- Unit tests for ].
local p = require('Module:UnitTests')
local m = require('Module:User:Oyunqi/ug-common1')
local test_nouns = require('Module:User:Oyunqi/ug-common/testcases/data')


function p:test_checkWord()
	tongue, v2,c2 = m.checkWord("ئالما", "1", "", "")
	self:equals("ئالما auto", tongue, "back")
	self:equals("ئالما auto", v2, "ى")
	tongue, v2,c2 = m.checkWord("ئالما", "1", "ى", "")
	self:equals("ئالما", tongue, "back")
	self:equals("ئالما", v2, "ى")
	tongue, v2,c2 = m.checkWord("قازاقچە", "1", "", "")
	self:equals("قازاقچە auto", tongue, "back")
	self:equals("قازاقچە auto", v2, "ى")
	tongue, v2,c2 = m.checkWord("قازاقچە", "1", "ى", "")
	self:equals("قازاقچە", tongue, "back")
	self:equals("قازاقچە", v2, "ى")
	
end

return p