Module:ur-hi-convert/testcases

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

4 of 61 tests failed. (refresh)

TextExpectedActualDiffers atComments
test_convert_urdu:
Passedکُن٘وَر (kũvar)कुँवरकुँवर
Passedمیز (mez)मेज़मेज़
Failedمیْزमेज़मीज़2
Failedجَہیز (jahez)जहेज़जहयज़3
Failedجَہیْزजहेज़जहय्ज़3
Passedتَصْوِیر (tasvīr)तस्वीरतस्वीर
Passedشُعْلَہ (śu'la)शोलाशोला
Passedبَلْکِہ (balki)बल्किबल्कि
Passedصَفْحَۂ اَوَّل (safha-yi avval)सफ़्हा-ए-अव्वलसफ़्हा-ए-अव्वल
Passedبَعْد (ba'd)बादबाद
Passedبَھئی (bhaī)भईभई
Passedپان٘چ (pā̃c)पाँचपाँच
Passedپانْچ (pānc)पांचपांच
Passedبھائی (bhāī)भाईभाई
Passedبَرچَھیت (barchait)बरछैतबरछैत
Passedنَشْرِیَہ (naśriya)नश्रियानश्रिया
Passedگِروْہगिरोहगिरोह
Passedاِشْتِمالِیَت (iśtimāliyat)इश्तिमालियतइश्तिमालियत
Passedماشاءاَللہ (māśā'allh)माशाअल्लाहमाशाअल्लाह
Passedپَیدائِش (paidāiś)पैदाइशपैदाइश
Passedوِلائتیविलायतीविलायती
Passedبَرْقِیات (barqiyāt)बर्क़ियातबर्क़ियात
Passedعَقْل ('aql)अक़्लअक़्ल
Passedعِزَّت ('izzat)इज़्ज़तइज़्ज़त
Passedمَوَاقِعْ (mavāqi')मवाक़ेमवाक़े
Passedعَین ('ain)ऐनऐन
Passedشُرُوع (śurū')शुरूशुरू
Passedاِشعاعइशआइशआ
Passedعِیسیٰ ('īsā)ईसाईसा
Passedتَعَلُّقات (ta'alluqāt)तअल्लुक़ाततअल्लुक़ात
Passedتَعَلُّق (ta'alluq)तअल्लुक़तअल्लुक़
Passedمُتَعَلِّق (muta'alliq)मुतअल्लिक़मुतअल्लिक़
Passedعُمَر ('umar)उमरउमर
Passedدَفعَہदफ़ादफ़ा
Passedبَچَّہ (bacca)बच्चाबच्चा
Passedآم (ām)आमआम
Passedلَفْظ (lafz)लफ़्ज़लफ़्ज़
Passedحاضِر (hāzir)हाज़िरहाज़िर
Passedچَوڑا (cauṛā)चौड़ाचौड़ा
Passedکُتّا (kuttā)कुत्ताकुत्ता
Passedتَیمُور (taimūr)तैमूरतैमूर
Passedخُدا (xudā)ख़ुदाख़ुदा
Passedمَۓ عِشْق (ma-ye 'iśq)म-ये-इश्क़म-ये-इश्क़
Passedشیرِ پَنْجاب (śer-i panjāb)शेर-ए-पंजाबशेर-ए-पंजाब
Passedمَلکۂ دُنیاमलक-ए-दुनियामलक-ए-दुनिया
Passedجَمُّوں (jammū̃)जम्मूंजम्मूं
Passedسِسَکناसिसकनासिसकना
Passedپُل (pul)पुलपुल
Passedنَہِیں (nahī̃)नहींनहीं
Passedپَہلےपहलेपहले
Passedٹَھہَرناठहरनाठहरना
Passedفوراً (foran)फ़ोरनफ़ोरन
Passedضَرُورَتً (zarūrān)ज़रूरतनज़रूरतन
Passedخُدا (xudā)ख़ुदाख़ुदा
Passedکئیकईकई
Passedچائے (cāe)चाएचाए
Passedکُھلْواؤ (khulvāo)खुल्वाओखुल्वाओ
Passedغَدّار (ġaddār)ग़द्दारग़द्दार
Passedبَیٹھو (baiṭho)बैठोबैठो
Passedبَطَّخ (battax)बत्तख़बत्तख़
Failedشُعُور (śu'ūr)शुऊरशुूर3

local tests = require('Module:UnitTests')
local ur_convert = require('Module:ur-hi-convert')
local m_links = require('Module:links')

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

function tests:do_test_convert(Urdu, Deva, xlit)
	self:equals(link(Urdu), ur_convert.tr(Urdu, 'ur', 'ur-Arab'), Deva)
end

function tests:test_convert_urdu()
	local examples = {
		{"کُن٘وَر", "कुँवर"},
		{"میز", "मेज़"},
		{"میْز", "मेज़"},
		{"جَہیز", "जहेज़"},
		{"جَہیْز", "जहेज़"},
		{"تَصْوِیر", "तस्वीर"},
		{"شُعْلَہ", "शोला"},
        { "بَلْکِہ", "बल्कि"}, 
        {"صَفْحَۂ اَوَّل", "सफ़्हा-ए-अव्वल"}, 
        { "بَعْد", "बाद"}, 
		{ "بَھئی", "भई"},
		{ "پان٘چ", "पाँच"},
		{ "پانْچ", "पांच"},
		{ "بھائی", "भाई"},
		{ "بَرچَھیت", "बरछैत"},
        { "نَشْرِیَہ", "नश्रिया"},
        { "گِروْہ", "गिरोह"},
        { "اِشْتِمالِیَت", "इश्तिमालियत" },
    	{ "ماشاءاَللہ", "माशाअल्लाह"},
		{ "پَیدائِش", "पैदाइश"},
		{ "وِلائتی", "विलायती"},
		{ "بَرْقِیات", "बर्क़ियात"},
		{ "عَقْل", "अक़्ल" },
		{ "عِزَّت", "इज़्ज़त" },
        { "مَوَاقِعْ", "मवाक़े"},
		{ "عَین", "ऐन" },
		{ "شُرُوع", "शुरू" },
		{ "اِشعاع", "इशआ" },
        { "عِیسیٰ", "ईसा" },
		{ "تَعَلُّقات", "तअल्लुक़ात" },
		{ "تَعَلُّق", "तअल्लुक़" },
		{ "مُتَعَلِّق", "मुतअल्लिक़" },
		{ "عُمَر", "उमर" },
		{ "دَفعَہ", "दफ़ा" },
		{ "بَچَّہ", "बच्चा" },
		{ "آم", "आम" },
		{ "لَفْظ", "लफ़्ज़" },
		{ "حاضِر", "हाज़िर" },
		{ "چَوڑا", "चौड़ा" },
		{ "کُتّا", "कुत्ता" },
		{ "تَیمُور", "तैमूर" },
		{ "خُدا", "ख़ुदा" },
        { "مَۓ عِشْق", "म-ये-इश्क़" },
		{ "شیرِ پَنْجاب", "शेर-ए-पंजाब" },
		{ "مَلکۂ دُنیا", "मलक-ए-दुनिया" },
		{ "جَمُّوں", "जम्मूं" },
		{ "سِسَکنا", "सिसकना" },
		{ "پُل", "पुल" },
		{ "نَہِیں", "नहीं" },
		{ "پَہلے", "पहले" },
		{ "ٹَھہَرنا", "ठहरना" },
		{ "فوراً", "फ़ोरन" },
		{ "ضَرُورَتً", "ज़रूरतन" },
		{ "خُدا", "ख़ुदा" },
		{ "کئی", "कई" },
		{ "چائے", "चाए" },
		{ "کُھلْواؤ", "खुल्वाओ" },
		{ "غَدّار", "ग़द्दार" },
		{ "بَیٹھو", "बैठो" },
		{ "بَطَّخ", "बत्तख़" },
		{"شُعُور", "शुऊर"},
	}
	self:iterate(examples, "do_test_convert")
end	

return tests