Module:IPA/testcases

-- Unit tests for Module:IPA. Click talk page to run tests. local p = require("Module:UnitTests")

function p:compare(input) self:preprocess_equals("", mw.getCurrentFrame:preprocess(""), { nowiki = true } ) end

function p:test_IPA local examples = { "gɛt", "ðɪs", }	for i, example in pairs(examples) do		p:compare(example) end end

return p