Module:pa-Arab-Mult-convert/sandbox/testcases

Hello, you have come here looking for the meaning of the word Module:pa-Arab-Mult-convert/sandbox/testcases. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:pa-Arab-Mult-convert/sandbox/testcases, but we will also tell you about its etymology, its characteristics and you will know how to say Module:pa-Arab-Mult-convert/sandbox/testcases in singular and plural. Everything you need to know about the word Module:pa-Arab-Mult-convert/sandbox/testcases you have here. The definition of the word Module:pa-Arab-Mult-convert/sandbox/testcases will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:pa-Arab-Mult-convert/sandbox/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:pa-Arab-Mult-convert/sandbox.

43 of 46 tests failed. (refresh)

TextExpectedActualDiffers atComments
test_convert_saraiki:
Failedاَتّے (atte)𑊀𑊖ا॑𑊖ّ1
Failedاَتّیْں (atteṉ)𑊀𑊖ا॑𑊖ّ𑊡1
Failedاَٹھاراں‎ (aṭhārāṉ‎)𑊀‎𑊑𑊢ا॑𑊐ا𑊢ا‎1
Failedآپے‎ (āpe‎)𑊀‎𑊛𑊀𑊛‎2
Failedاِرک (īrk)𑊁𑊢𑊄ا𑊢𑊄1
Failedاُتّے‎ (utte‎)𑊂𑊖ا𑊖ّ‎1
Failedاُتّیْں‎ (utteṉ‎)𑊂𑊖ا𑊖ّ𑊡‎1
Failedاُدڑ‎ (udṛ‎)𑊂𑊘𑊧ا𑊘𑊧‎1
Failedاوْل (ol)𑊂𑊣ا𑊤𑊣1
Failedایْکن (ekn)𑊃𑊄𑊚ا𑊡𑊄𑊚1
Failedاَیْنک (aink)𑊃𑊚𑊄ا॑𑊡𑊚𑊄1
Failedاَوْکھ (aukh)𑊂𑊅ا॑𑊤𑊅1
Failedگھٹَّݨ (ghṭṭaṇ)𑊈𑊐𑊕𑊈𑊐ّ॑𑊕3
Failedکی ()𑊄𑊁𑊄𑊡2
Failedنا ()𑊚𑊀𑊚ا2
Failedہَو (hau)𑊦𑊂𑊦॑𑊤2
Failedہٹّ (hṭṭ)𑊦𑊐𑊦𑊐ّ3
Failedاَسّاں (assāṉ)𑊀𑊥ا॑𑊥ّا1
Failedکلھا (klhā)𑊄𑊣𑊦𑊄𑊣𑊦ا4
Failedٻال (ḇāl)𑊝𑊣ٻا𑊣1
Failedݙاڑھی (ḏāṛhī)𑊓𑊨𑊓ا𑊨𑊡2
Failedبزار (bzār)𑊝𑊌𑊢𑊝𑊌ا𑊢3
Failedیاد𑊡𑊘𑊡ا𑊘2
Failedبھیݨ (bheṇ)𑊟𑊕𑊟𑊡𑊕2
Failedچمڑی (cmṛī)𑊊𑊠𑊧𑊊𑊠𑊧𑊡4
Failedواسطے (vāst̤e)𑊤𑊥𑊖𑊤ا𑊥𑊖2
Failedتاوݨ (tāvṇ)𑊖𑊤𑊕𑊖ا𑊤𑊕2
Failedڈو (ḍo)𑊒𑊂𑊒𑊤2
Failedپیوݨ (peyoṇ)𑊛𑊤𑊕𑊛𑊡𑊤𑊕2
Failedچھوہَر (chohar)𑊋𑊦𑊢𑊋𑊤𑊦॑𑊢2
Failedترپݨ (trpṇ)𑊓𑊛𑊕𑊖𑊢𑊛𑊕1
Failedترِکّھا (trikkhā)𑊓𑊅𑊖𑊢𑊄ّھا1
Failedتریمت (tremt)𑊓𑊠𑊖𑊖𑊢𑊡𑊠𑊖1
Failedپَوِتْر (pauitr)𑊛𑊤𑊓𑊛॑𑊤𑊖𑊢2
Failedآتَربھا (ātarbhā)𑊀𑊖𑊢𑊟𑊀𑊖॑𑊢𑊟ا3
Failedسرائیکی (srā'īkī)𑊥𑊢𑊁𑊄𑊥𑊢ا𑊡𑊄𑊡3
Failedاوْئے (o'e)𑊂𑊃ا𑊤1
Failedاُءِلا𑊂𑊁𑊣ا𑊣ا1
Passedبھؤ (bh'o)𑊟𑊂𑊟𑊂
Failedوَنڄَݨ (vanǰaṇ)𑊤𑊍𑊕𑊤॑𑊚𑊍॑𑊕2
Failedچندا (cndā)𑊊𑊘𑊊𑊚𑊘ا2
Failedترائے (trā'e)𑊓𑊃𑊖𑊢ا1
Passedپکݨ (pkṇ)𑊛𑊄𑊕𑊛𑊄𑊕
Failedکمبھار‎ (kmbhār‎)𑊄𑊠𑊟𑊢‎𑊄𑊠𑊟ا𑊢‎4
Passedوچ (vc)𑊤𑊊𑊤𑊊
Failedمَرْنا‎ (marnā‎)𑊠𑊢𑊚𑊠॑𑊢𑊚ا‎2

local tests = require('Module:UnitTests')
local skr_convert = require('Module:pa-Arab-Mult-convert/sandbox')
local m_links = require('Module:links')

local skr = require('Module:languages').getByCode('skr')
local function link(term)
	return m_links.full_link{term = term, lang = skr}
end

function tests:do_test_convert(Saraiki, Mult, xlit)
	self:equals(link(Saraiki), skr_convert.tr(Saraiki, 'skr', 'pa-Arab'), Mult)
end

function tests:test_convert_saraiki()
	local examples = {
        { "اَتّے", "𑊀𑊖"}, -- word-initial /ə/
        { "اَتّیْں", "𑊀𑊖"}, -- word-initial /ə/
        { "اَٹھاراں‎", "𑊀‎𑊑𑊢"}, -- word-initial /ə/
        { "آپے‎", "𑊀‎𑊛"}, -- word-initial /a/
        { "اِرک", "𑊁𑊢𑊄"}, -- word-initial /i/
        { "اُتّے‎", "𑊂𑊖"}, -- word-initial /u/ 
        { "اُتّیْں‎", "𑊂𑊖"}, -- word-initial /u/
        { "اُدڑ‎", "𑊂𑊘𑊧"}, -- word-initial /u/
        { "اوْل", "𑊂𑊣"}, -- word-initial /o/
        { "ایْکن", "𑊃𑊄𑊚"}, -- word-initial /e/
        { "اَیْنک", "𑊃𑊚𑊄"}, -- word-initial /ai/
        { "اَوْکھ", "𑊂𑊅"}, -- word-initial /au/
        { "گھٹَّݨ", "𑊈𑊐𑊕"}, -- word-medial gemination
        { "کی", "𑊄𑊁"}, -- monosyllabic word ending in /i/
        { "نا", "𑊚𑊀"}, -- monosyllabic word ending in /a/
        { "ہَو", "𑊦𑊂"}, -- monosyllabic word ending in /o/
        { "ہٹّ", "𑊦𑊐"}, -- word-final gemination
        { "اَسّاں", "𑊀𑊥"}, -- word-initial /a/ & word-medial gemination
        { "کلھا", "𑊄𑊣𑊦"}, -- /lh/
        { "ٻال", "𑊝𑊣"}, -- implosive ٻ
        { "ݙاڑھی", "𑊓𑊨"}, -- implosive ݙ
        { "بزار", "𑊝𑊌𑊢"}, -- ز
        { "یاد", "𑊡𑊘"}, -- word-initial consonantal ی
        { "بھیݨ", "𑊟𑊕"}, -- word-medial vocalic ی
        { "چمڑی", "𑊊𑊠𑊧"}, -- word-final vocalic ی
        { "واسطے", "𑊤𑊥𑊖"}, -- word-initial consonantal و
        { "تاوݨ", "𑊖𑊤𑊕"}, -- word-medial consonantal و
        { "ڈو", "𑊒𑊂"}, -- word-final vocalic و
        { "پیوݨ", "𑊛𑊤𑊕"}, -- word-medial consonantal و & word-medial vocalic ی
        { "چھوہَر", "𑊋𑊦𑊢"}, -- word-medial vocalic و
        { "ترپݨ", "𑊓𑊛𑊕"}, -- word-initial /tr/ = 𑊓
        { "ترِکّھا", "𑊓𑊅"}, -- word-initial /tr/ = 𑊓
        { "تریمت", "𑊓𑊠𑊖"}, -- word-initial /tr/ = 𑊓
        { "پَوِتْر", "𑊛𑊤𑊓"}, -- word-final /tr/ = 𑊓 & consonantal و
        { "آتَربھا", "𑊀𑊖𑊢𑊟"}, -- word-medial تر = 𑊓 & word-initial /a/
        { "سرائیکی", "𑊥𑊢𑊁𑊄"}, -- ئ
        { "اوْئے", "𑊂𑊃"}, -- word-initial /o/ & ئ
        { "اُءِلا", "𑊂𑊁𑊣"}, -- ء & word-initial /u/
        { "بھؤ", "𑊟𑊂"}, -- ؤ
        { "وَنڄَݨ", "𑊤𑊍𑊕"}, -- نڄ = 𑊍 & consonantal و
        { "چندا", "𑊊𑊘"}, -- ند = 𑊘 
        { "ترائے", "𑊓𑊃"}, -- word-initial /tr/ = 𑊓 & VئV
        { "پکݨ", "𑊛𑊄𑊕"}, 
        { "کمبھار‎", "𑊄𑊠𑊟𑊢‎"}, 
        { "وچ", "𑊤𑊊"},
        { "مَرْنا‎", "𑊠𑊢𑊚"},

 }
	self:iterate(examples, "do_test_convert")
end	

return tests