This is the unit-testing module for Module:kfa-Knda-translit.

1 of 1 test failed. (refresh)

TextExpectedActualDiffers atComments
test_translit_kodava:
Failedದಂಡುdaṇḍïdaṇḍuï5word-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
  NODES