Module:sa-Beng-translit/testcases

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

1 of 13 tests failed. (refresh)

TextExpectedActualDiffers at
test_translit_sanskrit:
Passedবাক্bākbāk
Passedবাকbākabāka
Failed অদৃষ্টadṛṣṭa adṛṣṭa1
Passedসোঽহম্so’hamso’ham
Passedদুঃখduḥkhaduḥkha
Passedকৢপ্তkḷptakḷpta
Passedঅগ্নিমীল়েagnimīḷeagnimīḷe
Passedশ্বেতোঽরুষোśveto’ruṣośveto’ruṣo
Passedঅরুষঃaruṣaḥaruṣaḥ
Passedঅণুগচ্ছইaṇugacchaïaṇugacchaï
Passedচট্টেইcaṭṭeicaṭṭei
Passedরইraïraï
Passedসউত্তীsaüttīsaüttī

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

--TO DO
function tests:do_test_translit(sans, roman, xlit)
	self:equals('<span class="Beng" lang="sa">]</span>', sa_Beng_translit.tr(sans, 'sa', 'Beng'), roman)
end

function tests:test_translit_sanskrit()
	self:do_test_translit('বাক্', 'bāk')
	self:do_test_translit('বাক', 'bāka')
	self:do_test_translit(' অদৃষ্ট', 'adṛṣṭa')
	self:do_test_translit('সোঽহম্', 'so’ham')
	self:do_test_translit('দুঃখ', 'duḥkha')
	self:do_test_translit('কৢপ্ত', 'kḷpta')
	self:do_test_translit('অগ্নিমীল়ে', 'agnimīḷe')
	self:do_test_translit('শ্বেতোঽরুষো', 'śveto’ruṣo')
	self:do_test_translit('অরুষঃ', 'aruṣaḥ')
	self:do_test_translit('অণুগচ্ছই', 'aṇugacchaï')
	self:do_test_translit('চট্টেই', 'caṭṭei')
	self:do_test_translit('রই', 'raï')
	self:do_test_translit('সউত্তী', 'saüttī')
end
 
return tests