Module:Rohg-translit/testcases

Hello, you have come here looking for the meaning of the word Module:Rohg-translit/testcases. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:Rohg-translit/testcases, but we will also tell you about its etymology, its characteristics and you will know how to say Module:Rohg-translit/testcases in singular and plural. Everything you need to know about the word Module:Rohg-translit/testcases you have here. The definition of the word Module:Rohg-translit/testcases will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:Rohg-translit/testcases, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

This is the unit-testing module for Module:Rohg-translit.

2 of 4 tests failed. (refresh)

TextExpectedActualDiffers atComments
test_translit_rohingya:
Passed𐴉𐴟𐴌𐴝𐴕furanfuran
Passed𐴁𐴡𐴒𐴝bogaboga
Failed𐴇𐴞𐴥𐴘𐴝𐴓híiyalhíiyal2
Failed𐴀𐴡𐴥𐴘𐴧𐴠óoyyeóoyye1

-- Unit tests for ]. Refresh page to run tests.
local tests = require('Module:UnitTests')
local Rohg_translit = require('Module:Rohg-translit')

function tests:do_test_translit(rohg, roman, comment)
	self:equals('<span class="Rohg" lang="rhg">]</span>', Rohg_translit.tr(rohg, 'rhg', 'Rohg'), roman, { comment = comment })
end

function tests:test_translit_rohingya()
    self:do_test_translit('𐴉𐴟𐴌𐴝𐴕', 'furan')
    self:do_test_translit('𐴁𐴡𐴒𐴝', 'boga')
    self:do_test_translit('𐴇𐴞𐴥𐴘𐴝𐴓', 'híiyal')
    self:do_test_translit('𐴀𐴡𐴥𐴘𐴧𐴠', 'óoyye')
end
 
return tests