This is the unit-testing module for Module:gon-Gong-translit.
All tests passed. (refresh)
Text | Expected | Actual | Differs at | Comments | |
---|---|---|---|---|---|
𑵭𑶂𑶌 | vaḍī | vaḍī | ṛ represented by 𑶂 <ḍ> |
-- Unit tests for ]. Refresh page to run tests.
local tests = require('Module:UnitTests')
local gon_translit = require('Module:gon-Gong-translit')
--TO DO
function tests:do_test_translit(gong, roman, comment)
self:equals(
'<span class="Gong" lang="gon">]</span>',
gon_translit.tr(gong, 'gon', 'gong'),
roman,
{ comment = comment })
end
function tests:test_translit_gondi()
local examples = {
{ '𑵭𑶂𑶌', 'vaḍī', 'ṛ represented by 𑶂 <ḍ>'},
}
self:iterate(examples, 'do_test_translit')
end
return tests