Module:User:George Animal/ipa/ku/testcases

local tests = require('Module:UnitTests') local m_hu_pron = require('Module:User:George Animal/ipa/ku') local m_links = require('Module:links')

local lang = require('Module:languages').getByCode('hu')

function tests:check_ipa(Latn, IPA, Latn_word) self:equals(		m_links.full_link(Latn_word or Latn, Latn_word or Latn, lang, nil, nil, nil, { tr = '-' }, true) ..			(Latn_word and (" (respelled " .. Latn .. ")") or ""),		m_ku_pron.IPA(Latn),		IPA	) end

function tests:test_ipa self:check_ipa('welat', 'welatɒ') end

return tests