- The following documentation is located at Module:Syrc-entryname/testcases/documentation. [edit] Categories were auto-generated by Module:module categorization. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • tested module • sandbox
All tests passed. (refresh)
Text | Expected | Actual | Differs at | |
---|---|---|---|---|
ܠܹܗ | ܠܗ | ܠܗ | ||
ܡ̣ܢ | ܡܢ | ܡܢ | ||
ܠܗܘܿܢ | ܠܗܘܢ | ܠܗܘܢ | ||
ܒܸܬ | ܒܬ | ܒܬ | ||
ܝܠܹܗ | ܝܠܗ | ܝܠܗ | ||
ܣܵܒܵܒ | ܣܒܒ | ܣܒܒ | ||
ܐܝܼܢܵܐ | ܐܝܢܐ | ܐܝܢܐ | ||
ܠܹܐ | ܠܐ | ܠܐ | ||
ܟܹܐ | ܟܐ | ܟܐ | ||
ܠܝܼ | ܠܝ | ܠܝ | ||
ܠܵܐ | ܠܐ | ܠܐ | ||
ܓܵܘ | ܓܘ | ܓܘ | ||
ܝܼܫܘܿܥ | ܝܫܘܥ | ܝܫܘܥ | ||
ܗ̇ܘ | ܗܘ | ܗܘ | ||
ܐܵܗܵܐ | ܐܗܐ | ܐܗܐ | ||
ܐܲܩܠܵܐ | ܐܩܠܐ | ܐܩܠܐ | ||
ܬܸܦ̮ܠܵܐ | ܬܦܠܐ | ܬܦܠܐ | ||
ܓ̰ܵܘܹܓ̰ | ܓܘܓ | ܓܘܓ | ||
ܡܲܕܢ̱ܚܵܐ | ܡܕܢܚܐ | ܡܕܢܚܐ | ||
ܡܲܩܕ̄ܫܵܐ | ܡܩܕܫܐ | ܡܩܕܫܐ | ||
ܫ̃ | ܫ | ܫ |
local tests = require("Module:UnitTests")
local makeEntryName = require "Module:Syrc-entryname".makeEntryName
local function tag(text)
return '<span>' .. text .. '</span>'
end
function tests:test_makeEntryName()
self:iterate({
-- common words
{ "ܠܹܗ", "ܠܗ" },
{ "ܡ̣ܢ", "ܡܢ" },
{ "ܠܗܘܿܢ", "ܠܗܘܢ" },
{ "ܒܸܬ", "ܒܬ" },
{ "ܝܠܹܗ", "ܝܠܗ" },
{ "ܣܵܒܵܒ", "ܣܒܒ" },
{ "ܐܝܼܢܵܐ", "ܐܝܢܐ" },
{ "ܠܹܐ", "ܠܐ" },
{ "ܟܹܐ", "ܟܐ" },
{ "ܠܝܼ", "ܠܝ" },
{ "ܠܵܐ", "ܠܐ" },
{ "ܓܵܘ", "ܓܘ" },
{ "ܝܼܫܘܿܥ", "ܝܫܘܥ" },
{ "ܗ̇ܘ", "ܗܘ" },
{ "ܐܵܗܵܐ", "ܐܗܐ" },
-- { "", "" },
-- edge cases
{ "ܐܲܩܠܵܐ", "ܐܩܠܐ" },
{ "ܬܸܦ̮ܠܵܐ", "ܬܦܠܐ" },
{ "ܓ̰ܵܘܹܓ̰", "ܓܘܓ" },
{ "ܡܲܕܢ̱ܚܵܐ", "ܡܕܢܚܐ" },
{ "ܡܲܩܕ̄ܫܵܐ", "ܡܩܕܫܐ" },
{ "ܫ̃", "ܫ" },
},
function(self, example, expected)
self:equals(tag(example), makeEntryName(example), expected)
end)
end
return tests
Categories:
- Entry name-generating modules by script
- Syriac script modules
- Entry name-generating modules
- Western Neo-Aramaic modules
- Turoyo modules
- Assyrian Neo-Aramaic modules
- Chaldean Neo-Aramaic modules
- Testcase modules by script
- Testcase modules
- Syriac script testcase modules
- Western Neo-Aramaic testcase modules
- Turoyo testcase modules
- Assyrian Neo-Aramaic testcase modules
- Chaldean Neo-Aramaic testcase modules