- The following documentation is located at Module:kfa-Knda-translit/testcases/documentation. [edit] Categories were auto-generated by Module:module categorization. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • tested module • sandbox
This is the unit-testing module for Module:kfa-Knda-translit.
1 of 1 test failed. (refresh)
Text | Expected | Actual | Differs at | Comments | |
---|---|---|---|---|---|
ದಂಡು | daṇḍï | daṇḍuï | 5 | word-final u is /ɨ/ |
-- Unit tests for [[Module:kfa-Knda-translit]]. Refresh page to run tests.
local tests = require('Module:UnitTests')
local kfa_translit = require('Module:kfa-Knda-translit')
--TO DO
function tests:do_test_translit(knda, roman, comment)
self:equals(
'<span class="Knda" lang="gon">[[' .. knda .. '#Kodava|' .. knda .. ']]</span>',
kfa_translit.tr(knda, 'kfa', 'Knda'),
roman,
{ comment = comment })
end
function tests:test_translit_kodava()
local examples = {
{ 'ದಂಡು', 'daṇḍï', 'word-final u is /ɨ/'},
}
self:iterate(examples, 'do_test_translit')
end
return tests