Module:ábḫ-ipa/remake/testcases: Difference between revisions
Created page with "local tests = require('Module:UnitTests') local m_IPA = require('Module:ábḫ-ipa/remake') local function IPA_style(IPA) return '<span style="font-size:110%;font-family:Gen..." |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 13: | Line 13: | ||
return tests:equals( | return tests:equals( | ||
linkup(term), | linkup(term), | ||
m_IPA. | m_IPA.show(term), | ||
expected, | expected, | ||
{ display = IPA_style } | { display = IPA_style } | ||
| Line 21: | Line 21: | ||
function tests:test_example() | function tests:test_example() | ||
local list = { | local list = { | ||
{"zaḫáza", " | {"zaḫáza", "θ̱ɐˈxä˦.θ̱ɐ"}, | ||
{"áken", "ˈä˦.kɛn̪"}, | {"áken", "ˈä˦.kɛn̪"}, | ||
--[[{"", ""}, | --[[{"", ""}, | ||