Module:su-translit/testcases

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

All tests passed. (refresh)

TextExpectedActualDiffers at
test_translit_sundanese:
Passedᮃᮜᮥᮔᮺᮌᮥᮀalun-agungalun-agung
Passedᮞ᮪ᮝᮛswaraswara
Passedᮍᮜᮌᮨᮔngalagenangalagena
Passedᮛᮛᮀᮊᮨᮔ᮪rarangkenrarangken
Passed]20152015
Passedᮃᮊ᮪ᮞᮛaksaraaksara
Passedᮃᮀᮊangkaangka
Passedᮓᮜᮤᮀᮓᮤᮀdalingdingdalingding
Passedᮃᮍᮤᮔ᮪anginangin
Passedᮌᮥᮔ᮪ᮒᮤᮀguntinggunting
Passedᮓᮓᮝᮥᮠᮔ᮪dadawuhandadawuhan
Passedᮒᮩᮊ᮪ᮒᮩᮊ᮪teukteukteukteuk
Passedᮃᮔᮾanakanak
Passedᮄᮊᮣᮤᮙ᮪iklimiklim

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

function tests:check_translit(Sund, roman)
	self:equals('<span class="Sund" lang="su">]</span>', su_translit.tr(Sund, 'su', 'Sund'), roman)
end

function tests:test_translit_sundanese()
	self:check_translit('ᮃᮜᮥᮔᮺᮌᮥᮀ', 'alun-agung')
	self:check_translit('ᮞ᮪ᮝᮛ', 'swara')
	self:check_translit('ᮍᮜᮌᮨᮔ', 'ngalagena')
	self:check_translit('ᮛᮛᮀᮊᮨᮔ᮪', 'rarangken')
	self:check_translit('|᮲᮰᮱᮵|', '2015')
	self:check_translit('ᮃᮊ᮪ᮞᮛ', 'aksara')
	self:check_translit('ᮃᮀᮊ', 'angka')
	self:check_translit('ᮓᮜᮤᮀᮓᮤᮀ', 'dalingding')
	self:check_translit('ᮃᮍᮤᮔ᮪', 'angin')
	self:check_translit('ᮌᮥᮔ᮪ᮒᮤᮀ', 'gunting')
	self:check_translit('ᮓᮓᮝᮥᮠᮔ᮪', 'dadawuhan')
	self:check_translit('ᮒᮩᮊ᮪ᮒᮩᮊ᮪', 'teukteuk')
	self:check_translit('ᮃᮔᮾ', 'anak')
	self:check_translit('ᮄᮊᮣᮤᮙ᮪', 'iklim')
end
 
return tests