Module:User:DerekWinters/Hanunoo/testcases

-- Unit tests for Module:User:DerekWinters/Hanunoo. Refresh page to run tests. local tests = require('Module:UnitTests') local transliterate = require('Module:User:DerekWinters/Hanunoo').tr

--TO DO function tests:do_test_translit(latn, hano, xlit) self:equals(' ' .. latn .. ' ', transliterate(latn, 'hnn', 'Latn'), hano) end

function tests:test_translit_hanunoo local examples = { { 'anak', 'ᜠᜨᜣ᜴' }, { 'upat', 'ᜢᜩᜦ᜴' }, { 'uran', 'ᜢᜭᜨ᜴'}, { 'danum', 'ᜧᜨᜳᜫ᜴'}, { 'hanunoo', 'ᜱᜨᜳᜨᜳᜢ'}, }	self:iterate(examples, 'do_test_translit') end return tests