Module:gon-Gonm-translit/testcases

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

All tests passed. (refresh)

TextExpectedActualDiffers atComments
test_translit_gondi:
Passed𑴦𑴶independent <r̥> represented by independent <r> + dependent <r̥>
Passed𑴨𑴘𑵂𑴳vaṛīvaṛī<ṛ> represented as 𑴘𑵂
Passed𑴀𑴎𑵅𑴎aggaaggavirama
Passed𑴌𑴱𑴖𑵄kāṭkāṭword-final halanta
Passed𑴌𑴵𑴥𑵄𑴫𑴱kūysākūysāword-medial halanta
Passed𑴀𑵆𑴝𑴽ardoardorepha
Passed𑴑𑴱𑴠𑵇𑴱cāprācāprāra-kāra
Passed𑴆𑵃ĕĕ<ऍ> ĕ independent
Passed𑴁𑵃ŏŏ<ऑ> ŏ independent
Passed𑴌𑵃<ऍ> ĕ dependent
Passed𑴌𑴱𑵃<ऑ> ŏ dependent

-- Unit tests for ]. Refresh page to run tests.
local tests = require('Module:UnitTests')
local gon_translit = require('Module:gon-Gonm-translit')

--TO DO
function tests:do_test_translit(gonm, roman, comment)
	self:equals(
		'<span class="Gonm" lang="gon">]</span>',
		gon_translit.tr(gonm, 'gon', 'gonm'),
		roman,
		{ comment = comment })
end

function tests:test_translit_gondi() 
	local examples = {
		{ '𑴦𑴶', 'r̥', 'independent <r̥> represented by independent <r> + dependent <r̥>'},
		{ '𑴨𑴘𑵂𑴳', 'vaṛī', '<ṛ> represented as 𑴘𑵂'},
		{ '𑴀𑴎𑵅𑴎', 'agga', 'virama'},
		{ '𑴌𑴱𑴖𑵄', 'kāṭ', 'word-final halanta'},
		{ '𑴌𑴵𑴥𑵄𑴫𑴱', 'kūysā', 'word-medial halanta'},
		{ '𑴀𑵆𑴝𑴽', 'ardo', 'repha'},
		{ '𑴑𑴱𑴠𑵇𑴱', 'cāprā', 'ra-kāra'},
		{ '𑴆𑵃', 'ĕ', '<ऍ> ĕ independent'},
		{ '𑴁𑵃', 'ŏ', '<ऑ> ŏ independent'},
		{ '𑴌𑵃', 'kĕ', '<ऍ> ĕ dependent'},
		{ '𑴌𑴱𑵃', 'kŏ', '<ऑ> ŏ dependent'},
	}
	
	self:iterate(examples, 'do_test_translit')

end
 
return tests