--[=[ Modified from [[wikt:Module:grc-translit/testcases]].]=]
local tests = require('Module:UnitTests')local translit = require('Module:Ancient Greek')local decompose = mw.ustring.toNFC
local function tag(text) return '
' .. text .. ''endfunction tests:check_output(term, Wiktionary, ALA_LC) tests:equals(tag(term), decompose(translit.transliterate(term, "Wiktionary")), decompose(Wiktionary) ) tests:equals(tag(term), decompose(translit.transliterate(term, "ALA-LC")), decompose(ALA_LC) )end
function tests:test_translit local examples = self:iterate(examples, 'check_output')end
return tests