Module:User:DerekWinters/Hanunoo/testcases

Hello, you have come here looking for the meaning of the word Module:User:DerekWinters/Hanunoo/testcases. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:User:DerekWinters/Hanunoo/testcases, but we will also tell you about its etymology, its characteristics and you will know how to say Module:User:DerekWinters/Hanunoo/testcases in singular and plural. Everything you need to know about the word Module:User:DerekWinters/Hanunoo/testcases you have here. The definition of the word Module:User:DerekWinters/Hanunoo/testcases will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:User:DerekWinters/Hanunoo/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:User:DerekWinters/Hanunoo.

All tests passed. (refresh)

TextExpectedActualDiffers at
test_translit_hanunoo:
Passedanakᜠᜨᜣ᜴ᜠᜨᜣ᜴
Passedupatᜢᜩᜦ᜴ᜢᜩᜦ᜴
Passeduranᜢᜭᜨ᜴ᜢᜭᜨ᜴
Passeddanumᜧᜨᜳᜫ᜴ᜧᜨᜳᜫ᜴
Passedhanunooᜱᜨᜳᜨᜳᜢᜱᜨᜳᜨᜳᜢ

-- Unit tests for ]. Refresh page to run tests.
local tests = require('Module:UnitTests')
local transliterate = require('Module:User:DerekWinters/Hanunoo').tr

--TO DO
function tests:do_test_translit(latn, hano, xlit)
	self:equals('<span class="Latn" lang="hnn">]</span>', transliterate(latn, 'hnn', 'Latn'), hano)
end

function tests:test_translit_hanunoo()
	local examples = {
		{ 'anak', 'ᜠᜨᜣ᜴' },
		{ 'upat', 'ᜢᜩᜦ᜴' },	
		{ 'uran', 'ᜢᜭᜨ᜴'},
		{ 'danum', 'ᜧᜨᜳᜫ᜴'},
		{ 'hanunoo', 'ᜱᜨᜳᜨᜳᜢ'},
	}
	self:iterate(examples, 'do_test_translit')
end
 
return tests