Module:Ital-translit/testcases
Jump to navigation
Jump to search
- The following documentation is located at Module:Ital-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
1 of 1 test failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
South Picene: 𐌌𐌄⁚𐌉𐌑𐌍 | mefiín | me iín |
-- Unit tests for [[Module:Ital-translit]]. Refresh page to run tests.
local tests = require('Module:UnitTests')
local module = require('Module:Ital-translit')
local m_lang = require('Module:languages')
function tests:check_translit(lang, text, translit)
local langname = m_lang.getByCode(lang):getCanonicalName()
self:equals(langname .. ': <span class="Ital" lang="' .. lang .. '">[[' .. text .. '#' .. langname .. '|' .. text .. ']]</span>', module.tr(text, lang, 'Ital'), translit)
end
function tests:test_translits()
self:check_translit('spx', '𐌌𐌄⁚𐌉𐌑𐌍', 'mefiín')
end
return tests
Categories:
- Failing testcase modules
- Transliteration modules by script
- Old Italic script modules
- Transliteration modules
- Venetic modules
- Etruscan modules
- Oscan modules
- Lemnian modules
- North Picene modules
- Umbrian modules
- Faliscan modules
- Raetic modules
- South Picene modules
- Camunic modules
- Lepontic modules
- Transliteration testcase modules by script
- Transliteration testcase modules