Module:User:Sinonquoi/ks-pa-translit/testcases

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

12 of 18 tests failed. (refresh)

TextExpectedActual
test_strings:
Passedپھَکphakphak
Failedحِصہٕhisụhiصہٕ
Failedتھۄکھthọkhthۄkh
Failedچھاوchāvchاو
Failedکھوٗرkhūrkhوٗr
Failedٹھانٛڈٕṭhānḍụṭhاnḍụ
Failedژھاوُلċhāvulċhاvul
Passedترَٛکھtrakhtrakh
Failedاَکیakīاَkی
Passedکیُٛلkyulkyul
Failedبوےbōybوے
Passedکُلؠkul'kul'
Failedؤلؠ ؤلؠvạl' vạl'ؤl' ؤl'
Failedؤلؠ ؤلؠvạl' vạl'ؤl' ؤl'
Passedدؠلd'ald'al
Failedکیٛازِk'āzik'اzi
Failedپرٛانٛگprāngprاng
Passedپھَمبphambphamb

local tests = require "Module:UnitTests"
local m = require "Module:User:Sinonquoi/ks-pa-translit"
local convert = m.transliterate

function tests:check_tr(example, expected)
    self:equals(
        example,
        convert(example),
        expected
    )
end

function tests:test_strings()
    local examples = {
        {"پھَک", "phak"},
        {"حِصہٕ", "hisụ"},
        {"تھۄکھ", "thọkh"},
        {"چھاو", "chāv"},
        {"کھوٗر", "khūr"},
        {"ٹھانٛڈٕ", "ṭhānḍụ"},
        {"ژھاوُل", "ċhāvul"},
        {"ترَٛکھ", "trakh"},
        {"اَکی", "akī"},
        {"کیُٛل", "kyul"},
        {"بوے", "bōy"},
        {"کُلؠ", "kul\'"},
        {"ؤلؠ ؤلؠ", "vạl\' vạl\'"},
        {"ؤلؠ ؤلؠ", "vạl\' vạl\'"},
        {"دؠل", "d\'al"},
        {"کیٛازِ", "k\'āzi"},
        {"پرٛانٛگ", "prāng"},
        {"پھَمب", "phamb"},

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

return tests