Module:mr-Modi-translit/testcases

-- Unit tests for Module:mr-Modi-translit. Refresh page to run tests. local tests = require('Module:UnitTests') local mr_translit = require('Module:mr-Modi-translit')

--TO DO function tests:do_test_translit(modi, roman, comment) self:equals(		' ' .. modi .. ' ',		mr_translit.tr(modi, 'mr', 'Modi'),		roman,		{ comment = comment }) end

function tests:test_translit_marathi local examples = {

--Fundamental tests { '𑘥𑘰𑘨𑘝', 'bhārat' }, { '𑘦𑘨𑘰𑘙𑘲', 'marāṭhī' }, { '𑘮𑘵𑘟𑘧', 'hruday' }, }	self:iterate(examples, 'do_test_translit') end return tests