This tests transliteration from the Brahmi script to the Roman script. Sanskrit and potentially non-standard Pali use a different scheme to the other languages. The test cases below are for Prakit by default. Other languages are indicated in the results by prefixing the language code, colon and a space to the input Brahmi script string. All tests passed. (refresh)

TextExpectedActual
testcases for tr function in Module:Brah-translit:
Passed𑀧𑀁𑀟𑀺𑀅paṃḍiapaṃḍia
Passed𑀕𑀅gaagaa
Passed𑀢𑀑taotao
Passedsa: 𑀯𑀁𑀰vaṃśavaṃśa
Passed𑀯𑀺𑀱𑁆𑀡𑀼viṣṇuviṣṇu
Passedsa: 𑀕𑁅𑀂gauḥgauḥ
Passed𑀚𑁃𑀦jainajaina
Passedsa: 𑀋𑀱𑁀𑀫𑀿𑀡𑀻ṛṣḷmṝṇīṛṣḷmṝṇī
Passed𑀋𑀱𑁀𑀫𑀿𑀡𑀻ṛṣl̥mṝṇīṛṣl̥mṝṇī
Passedsa: 𑀌𑀓𑁆𑀱𑀽𑀧𑁁𑀢ṝkṣūpḹtaṝkṣūpḹta
Passed𑀌𑀓𑁆𑀱𑀽𑀧𑁁𑀢ṝkṣūpl̥̄taṝkṣūpl̥̄ta
Passed𑀍𑀧𑀾l̥pṛl̥pṛ
Passedsa: 𑀍𑀧𑀾ḷpṛḷpṛ
Passedpi: 𑀍𑀧𑀾ḷpṛḷpṛ
Passedsa: 𑀎𑀦𑀸ḹnāḹnā
Passed𑀎𑀦𑀸l̥̄nāl̥̄nā
Passedpi: 𑀐𑀰𑁆𑀯𑀭𑁆𑀬aiśvaryaaiśvarya
Passed𑀒𑀱𑀥auṣadhaauṣadha
Passed𑀓𑀼𑀔𑀻𑀕𑀗𑁆𑀖𑀸kukhīgaṅghākukhīgaṅghā
Passed𑀝𑀝𑁆𑀞𑁄𑀟𑁆𑀠𑀡𑁆𑀟𑀻𑀠𑀦𑁆𑀢𑁆ṭaṭṭhŏḍḍhaṇḍīḍhantṭaṭṭhŏḍḍhaṇḍīḍhant
Passed𑀚𑀘𑁆𑀙𑀼𑀁𑀲𑀚𑁆𑀛𑁂𑀚𑁆𑀜jacchuṃsajjhĕjñajacchuṃsajjhĕjña
Passed𑀇𑀧𑀡𑁆𑀞𑀫𑁆𑀩𑀺𑀨𑀪𑁄ipaṇṭhambiphabhoipaṇṭhambiphabho
Passed𑀯𑁆𑀬𑀩𑁆𑀩𑁄𑀭𑀴𑁆𑀳𑀴𑀺𑀦𑀸vyabboraḷhaḷināvyabboraḷhaḷinā
Passed𑀧𑀼𑀁𑀮𑀺𑀗𑁆𑀕puṃliṅgapuṃliṅga
Passed𑀆𑀲𑁆𑀦𑁄𑀓𑁆𑀮𑀢𑁆𑀯𑀸𑀬𑁆𑀳𑀮𑁄āsnŏklatvāyhaloāsnŏklatvāyhalo
Passedsa: 𑀆𑀲𑁆𑀦𑁄𑀓𑁆𑀮𑀢𑁆𑀯𑀸𑀬𑁆𑀳𑀮𑁄āsnoklatvāyhaloāsnoklatvāyhalo
Passedpi: 𑀉𑀕𑀬𑁆𑀳𑁄ugayhougayho
Passedsa: 𑀦𑀺𑀕𑁆𑀭𑁄𑀥nigrodhanigrodha
Passedpi: 𑀧𑀘𑀯𑁆𑀳𑁄pacavhopacavho
Passedpi: 𑀅𑀕𑀁𑀙𑀺𑀁agaṃchiṃagaṃchiṃ
Passedsa: 𑀧𑀸𑀧𑁄pāpopāpo
Passedsa: 𑀦𑀺𑀩𑁆𑀩𑀸𑀦nibbānanibbāna
Passedpi: 𑀊𑀓𑀢𑀩𑁆𑀩𑁄ūkatabboūkatabbo
Passedpi: 𑀑𑀓𑀸𑀲𑀫𑁆𑀳𑀺okāsamhiokāsamhi
Passedsa: 𑀏𑀳𑀺ehiehi
Passedpi: 𑀈𑀢𑁆𑀭𑁂𑀤𑁆𑀥𑁄𑀣𑀽𑀦𑀺𑀫𑁆ītreddhothūnimītreddhothūnim
Passedpi: 𑀴𑁆𑀳𑀸𑀲𑀸𑀴𑀽𑀁ḷhāsāḷūṃḷhāsāḷūṃ
Passed𑀲𑁂𑀝𑁆𑀞𑀺sĕṭṭhisĕṭṭhi
Passed𑀏𑀓𑁆𑀓ĕkkaĕkka
Passed𑀩𑁄𑀮𑁆𑀮𑀇bŏllaïbŏllaï
Passed𑀑𑀓𑁆𑀓𑀺𑀅ŏkkiaŏkkia
Passed𑀢𑁂𑀮telatela
Passed𑀏𑀲𑀚𑁆𑀚esajjaesajja
Passed𑀢𑁄𑀲tosatosa
Passed𑀑𑀳𑀺ohiohi
Passed𑀅𑀉𑀅aüaaüa
Passed𑀧𑀸𑀲𑀇pāsaïpāsaï
Passedoty: 𑀫𑀻𑀷𑁆mīṉmīṉ
Passedoty: 𑀫𑀻𑀷𑁰mīṉmīṉ
Passedoty: 𑀆𑀶𑀼āṟuāṟu
Passedoty: 𑀢𑀫𑀺𑀵𑁰tamiḻtamiḻ
Passedoty: 𑀧𑁂𑁆𑀬𑀭𑁆peyarpeyar
Passedoty: 𑀧𑁳𑀬𑀭𑁰peyarpeyar
Passedoty: 𑀉𑀭𑁄𑀫𑀫𑁆urōmamurōmam
Passedoty: 𑀉𑀭𑁄𑀫𑀫𑁰urōmamurōmam
Passedoty: 𑀘𑁂𑀷𑁃cēṉaicēṉai
Passedoty: 𑀘𑁄𑁆𑀮𑁆colcol
Passedoty: 𑀘𑁴𑀮𑁰colcol

local scdef, langdef  = 'Brah', 'pra'
local canonical_def
local ti = table.insert
return require("Module:transliteration module testcases"){
	module = "Brah-translit",
    examples = {
    	{ "𑀧𑀁𑀟𑀺𑀅", "paṃḍia" },
    	{ "𑀕𑀅", "gaa" },
    	{ "𑀢𑀑", "tao" },
		{ "𑀯𑀁𑀰", "vaṃśa", "Brah", "sa" },
		{ "𑀯𑀺𑀱𑁆𑀡𑀼", "viṣṇu", "Brah", "pra" },
		{ "𑀕𑁅𑀂", "gauḥ", "Brah", "sa" },
		{ "𑀚𑁃𑀦", "jaina", "Brah", "pra" },
		{ "𑀋𑀱𑁀𑀫𑀿𑀡𑀻", "ṛṣḷmṝṇī", "Brah", "sa" },
		{ "𑀋𑀱𑁀𑀫𑀿𑀡𑀻", "ṛṣl̥mṝṇī", "Brah", "pra" },
		{ "𑀌𑀓𑁆𑀱𑀽𑀧𑁁𑀢", "ṝkṣūpḹta", "Brah", "sa" },
		{ "𑀌𑀓𑁆𑀱𑀽𑀧𑁁𑀢", "ṝkṣūpl̥̄ta" },
    	{ "𑀍𑀧𑀾", "l̥pṛ" },
    	{ "𑀍𑀧𑀾", "ḷpṛ", "Brah", "sa"},
    	{ "𑀍𑀧𑀾", "ḷpṛ", "Brah", "pi"}, -- Unlikely, but conceivable as a leakage in from Sanskrit
		{ "𑀎𑀦𑀸",  "ḹnā", "Brah", "sa"},
		{ "𑀎𑀦𑀸",  "l̥̄nā", "Brah", "pra"},
		{ "𑀐𑀰𑁆𑀯𑀭𑁆𑀬", "aiśvarya", "Brah", "pi"},
		{ "𑀒𑀱𑀥",  "auṣadha"},
		{ "𑀓𑀼𑀔𑀻𑀕𑀗𑁆𑀖𑀸",  "kukhīgaṅghā" },
		{ "𑀝𑀝𑁆𑀞𑁄𑀟𑁆𑀠𑀡𑁆𑀟𑀻𑀠𑀦𑁆𑀢𑁆", "ṭaṭṭhŏḍḍhaṇḍīḍhant" },
		{ "𑀚𑀘𑁆𑀙𑀼𑀁𑀲𑀚𑁆𑀛𑁂𑀚𑁆𑀜", "jacchuṃsajjhĕjña" },
		{ "𑀇𑀧𑀡𑁆𑀞𑀫𑁆𑀩𑀺𑀨𑀪𑁄", "ipaṇṭhambiphabho" },
		{ "𑀯𑁆𑀬𑀩𑁆𑀩𑁄𑀭𑀴𑁆𑀳𑀴𑀺𑀦𑀸", "vyabboraḷhaḷinā" },
		{ "𑀧𑀼𑀁𑀮𑀺𑀗𑁆𑀕", "puṃliṅga"},
		{ "𑀆𑀲𑁆𑀦𑁄𑀓𑁆𑀮𑀢𑁆𑀯𑀸𑀬𑁆𑀳𑀮𑁄", "āsnŏklatvāyhalo" },
		{ "𑀆𑀲𑁆𑀦𑁄𑀓𑁆𑀮𑀢𑁆𑀯𑀸𑀬𑁆𑀳𑀮𑁄", "āsnoklatvāyhalo", "Brah", "sa" },
--		{ "𑀆𑀲𑁆𑀦𑁄𑀓𑁆𑀮𑀢𑁆𑀯𑀸𑀬𑁆𑀳𑀮𑁄", "āsnoklatvāyhalo", "Brah", "inc-pmh" },
		{ "𑀉𑀕𑀬𑁆𑀳𑁄", "ugayho", "Brah", "pi" },
		{ "𑀦𑀺𑀕𑁆𑀭𑁄𑀥", "nigrodha", "Brah", "sa"},
		{ "𑀧𑀘𑀯𑁆𑀳𑁄", "pacavho", "Brah", "pi" },
		{ "𑀅𑀕𑀁𑀙𑀺𑀁", "agaṃchiṃ", "Brah", "pi" },
		{ "𑀧𑀸𑀧𑁄", "pāpo", "Brah", "sa" },
		{ "𑀦𑀺𑀩𑁆𑀩𑀸𑀦", "nibbāna", "Brah", "sa" },
		{ "𑀊𑀓𑀢𑀩𑁆𑀩𑁄",  "ūkatabbo", "Brah", "pi" },
		{ "𑀑𑀓𑀸𑀲𑀫𑁆𑀳𑀺", "okāsamhi", "Brah", "pi" },
		{ "𑀏𑀳𑀺", "ehi", "Brah", "sa" },
		{ "𑀈𑀢𑁆𑀭𑁂𑀤𑁆𑀥𑁄𑀣𑀽𑀦𑀺𑀫𑁆", "ītreddhothūnim", "Brah", "pi" },
		{ "𑀴𑁆𑀳𑀸𑀲𑀸𑀴𑀽𑀁", "ḷhāsāḷūṃ", "Brah", "pi" },
		{ "𑀲𑁂𑀝𑁆𑀞𑀺", "sĕṭṭhi", "Brah", "pra"},
        { "𑀏𑀓𑁆𑀓", "ĕkka", "Brah", "pra"},
        { "𑀩𑁄𑀮𑁆𑀮𑀇", "bŏllaï", "Brah", "pra"},
        { "𑀑𑀓𑁆𑀓𑀺𑀅", "ŏkkia", "Brah", "pra"},
        { "𑀢𑁂𑀮", "tela", "Brah", "pra"},
        { "𑀏𑀲𑀚𑁆𑀚", "esajja", "Brah", "pra"},
        { "𑀢𑁄𑀲", "tosa", "Brah", "pra"},
        { "𑀑𑀳𑀺", "ohi", "Brah", "pra"},
        { "𑀅𑀉𑀅", "aüa", "Brah", "pra"},
        { "𑀧𑀸𑀲𑀇", "pāsaï", "Brah", "pra"};
    	{ "𑀫𑀻𑀷𑁆", "mīṉ", "Brah", "oty" }, -- 13.0
    	{ "𑀫𑀻𑀷𑁰", "mīṉ", "Brah", "oty" }, -- 14.0
    	{ "𑀆𑀶𑀼", "āṟu", "Brah", "oty" },
    	{ "𑀢𑀫𑀺𑀵𑁰", "tamiḻ", "Brah", "oty" },
    	{ "𑀧𑁂𑁆𑀬𑀭𑁆", "peyar", "Brah", "oty" }, -- 13.0
    	{ "𑀧𑁳𑀬𑀭𑁰", "peyar", "Brah", "oty" }, -- 14.0
    	{ "𑀉𑀭𑁄𑀫𑀫𑁆", "urōmam", "Brah", "oty"},  -- 13.0
    	{ "𑀉𑀭𑁄𑀫𑀫𑁰", "urōmam", "Brah", "oty"},  -- 14.0
    	{ "𑀘𑁂𑀷𑁃", "cēṉai", "Brah", "oty" },
    	{ "𑀘𑁄𑁆𑀮𑁆", "col", "Brah", "oty" }, -- 13.0
    	{ "𑀘𑁴𑀮𑁰", "col", "Brah", "oty" }, -- 14.0
    	--[[
    	{ "", "", "", "" },
    	--]]
    },
    sc = scdef, lang = langdef,
	func_with_link = function(text, should, sc, lang)
		local canonical_name
		if not canonical_def then
			local lang_object = require('Module:languages').getByCode(langdef)
				or error('The language code ' .. langdef .. ' is not valid.')
			canonical_def = lang_object:getCanonicalName()
		end
		local label = {}
		if lang and lang ~= langdef then
			local lang_object = require('Module:languages').getByCode(lang)
				or error('The language code ' .. lang .. ' is not valid.')
			canonical_name = lang_object:getCanonicalName()
			ti(label, lang);
			ti(label, ': ')
		else
			canonical_name = canonical_def
		end
		ti(label, '<span class="');
		ti(label, sc or scdef);
		ti(label, '" lang="');
		ti(label, lang or langdef);
		ti(label, '">[[');
		ti(label, text)
		ti(label, '#')
		ti(label, canonical_name)
		ti(label, '|')
		ti(label, text)
		ti(label, ']]</span>')
		return table.concat(label)
	end
}