Module:aii-conj/testcases
Appearance
- The following documentation is located at Module:aii-conj/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
22 of 22 tests failed. (refresh)
Text | Expected | Actual | Differs at | |
---|---|---|---|---|
ܡܲܥܒܸܕ݂ | {{aii-conj-verb/C-strong|ܥ|ܒ|ܕ݂}} | {{aii-conj/C-strong|ܥ|ܒ|ܕ݂}} | 11 | |
ܡܲܚܹܐ | {{aii-conj-verb/C-weak-2d-3i|ܚ}} | {{aii-conj/C-weak-2d-3i|ܚ}} | 11 | |
ܡܲܥܠܹܐ | {{aii-conj-verb/C-weak-3i|ܥ|ܠ}} | {{aii-conj/C-weak-3i|ܥ|ܠ}} | 11 | |
ܡܲܠܸܦ | {{aii-conj-verb/C-weak-d|ܠ|ܦ}} | {{aii-conj/C-weak-d|ܠ|ܦ}} | 11 | |
ܡܲܥܝܸܕ݂ | {{aii-conj-verb/C-weak-m|ܥ|ܕ݂}} | {{aii-conj/C-weak-2i|ܥ|ܕ݂}} | 11 | |
ܡܥܲܕܸܢ | {{aii-conj-verb/D-strong|ܥ|ܕ|ܢ}} | {{aii-conj/D-strong|ܥ|ܕ|ܢ}} | 11 | |
ܡܐܲܣܹܐ | {{aii-conj-verb/D-weak-3i|ܐ|ܣ}} | {{aii-conj/D-weak-3i|ܐ|ܣ}} | 11 | |
ܥܵܕ݂ܹܪ | {{aii-conj-verb/G-strong|ܥ|ܕ݂|ܪ}} | {{aii-conj/G-strong|ܥ|ܕ݂|ܪ}} | 11 | |
ܐܵܟ̰ܹܡ | {{aii-conj-verb/G-weak-1i|ܟ̰|ܡ}} | {{aii-conj/G-weak-1i|ܟ̰|ܡ}} | 11 | |
ܥܵܐܹܠ | {{aii-conj-verb/G-weak-2i|ܥ|ܠ}} | {{aii-conj/G-weak-2i|ܥ|ܠ}} | 11 | |
ܥܵܢܹܐ | {{aii-conj-verb/G-weak-3i|ܥ|ܢ}} | {{aii-conj/G-weak-3i|ܥ|ܢ}} | 11 | |
ܡܸܬ݂ܟܬ݂ܹܒ݂ | {{aii-conj-verb/Gt-strong|ܟ|ܬ݂|ܒ݂}} | {{aii-conj/Gt-strong|ܟ|ܬ݂|ܒ݂}} | 11 | |
ܡܐܲܪܓܘܸܢ | {{aii-conj-verb/Penta-strong|ܐ|ܪ|ܓ|ܘ|ܢ}} | {{aii-conj/Penta-strong|ܐ|ܪ|ܓ|ܘ|ܢ}} | 11 | |
ܡܥܲܠܬܸܢ | {{aii-conj-verb/Q-strong|ܥ|ܠ|ܬ|ܢ}} | {{aii-conj/Q-strong|ܥ|ܠ|ܬ|ܢ}} | 11 | |
ܡܦܲܪܓܹܐ | {{aii-conj-verb/Q-weak|ܦ|ܪ|ܓ}} | {{aii-conj/Q-weak-4i|ܦ|ܪ|ܓ}} | 11 | |
ܡܸܫܬܲܒ݂ܗܸܪ | {{aii-conj-verb/Qi-strong|ܒ݂|ܗ|ܪ}} | {{aii-conj/Qi-strong|ܒ݂|ܗ|ܪ}} | 11 | |
ܛܵܐܹܒ݂ | {{aii-conj-verb/G-strong|ܛ|ܐ|ܒ݂}} | {{aii-conj/G-strong|ܛ|ܐ|ܒ݂}} | 11 | |
ܝܵܐܹܒ݂ | {{aii-conj-verb/G-strong|ܝ|ܐ|ܒ݂}} | {{aii-conj/G-strong|ܝ|ܐ|ܒ݂}} | 11 | |
ܗܵܘܹܐ | {{aii-conj-haweh}} | {{aii-conj/ܗܘܐ}} | 11 | |
ܐܵܬ݂ܹܐ | {{aii-conj-verb/atheh}} | {{aii-conj/ܐܬܐ}} | 11 | |
ܐܵܙܹܠ | {{aii-conj-verb/azel}} | {{aii-conj/ܐܙܠ}} | 11 | |
ܝܵܗ݇ܒ݂ܹܠ | {{aii-conj-verb/yavel}} | {{aii-conj/ܝܗܒܠ}} | 11 |
local tests = require("Module:UnitTests")
local _conj = require "Module:aii-conj"._conj
function str_literal_testcase(result)
local str_result = "{{" .. result.title
for _, arg in ipairs(result.args) do
str_result = str_result .. "|" .. arg
end
str_result = str_result .. "}}"
return str_result
end
local function tag(text)
return '<span>' .. text .. '</span>'
end
function tests:test_conj()
self:iterate({
{'ܡܲܥܒܸܕ݂', '{{aii-conj-verb/C-strong|ܥ|ܒ|ܕ݂}}'},
{'ܡܲܚܹܐ', '{{aii-conj-verb/C-weak-2d-3i|ܚ}}'},
{'ܡܲܥܠܹܐ', '{{aii-conj-verb/C-weak-3i|ܥ|ܠ}}'},
{'ܡܲܠܸܦ', '{{aii-conj-verb/C-weak-d|ܠ|ܦ}}'},
{'ܡܲܥܝܸܕ݂', '{{aii-conj-verb/C-weak-m|ܥ|ܕ݂}}'},
{'ܡܥܲܕܸܢ', '{{aii-conj-verb/D-strong|ܥ|ܕ|ܢ}}'},
{'ܡܐܲܣܹܐ', '{{aii-conj-verb/D-weak-3i|ܐ|ܣ}}'},
{'ܥܵܕ݂ܹܪ', '{{aii-conj-verb/G-strong|ܥ|ܕ݂|ܪ}}'},
{'ܐܵܟ̰ܹܡ', '{{aii-conj-verb/G-weak-1i|ܟ̰|ܡ}}'},
{'ܥܵܐܹܠ', '{{aii-conj-verb/G-weak-2i|ܥ|ܠ}}'},
{'ܥܵܢܹܐ', '{{aii-conj-verb/G-weak-3i|ܥ|ܢ}}'},
{'ܡܸܬ݂ܟܬ݂ܹܒ݂', '{{aii-conj-verb/Gt-strong|ܟ|ܬ݂|ܒ݂}}'},
{'ܡܐܲܪܓܘܸܢ', '{{aii-conj-verb/Penta-strong|ܐ|ܪ|ܓ|ܘ|ܢ}}'},
{'ܡܥܲܠܬܸܢ', '{{aii-conj-verb/Q-strong|ܥ|ܠ|ܬ|ܢ}}'},
{'ܡܦܲܪܓܹܐ', '{{aii-conj-verb/Q-weak|ܦ|ܪ|ܓ}}'},
{'ܡܸܫܬܲܒ݂ܗܸܪ', '{{aii-conj-verb/Qi-strong|ܒ݂|ܗ|ܪ}}'},
-- Special cases
{'ܛܵܐܹܒ݂', '{{aii-conj-verb/G-strong|ܛ|ܐ|ܒ݂}}'},
{'ܝܵܐܹܒ݂', '{{aii-conj-verb/G-strong|ܝ|ܐ|ܒ݂}}'},
-- Irregular conjugations
{'ܗܵܘܹܐ', '{{aii-conj-haweh}}'},
{'ܐܵܬ݂ܹܐ', '{{aii-conj-verb/atheh}}'},
{'ܐܵܙܹܠ', '{{aii-conj-verb/azel}}'},
{'ܝܵܗ݇ܒ݂ܹܠ', '{{aii-conj-verb/yavel}}'}
},
function(self, example, expected)
self:equals(tag(example), str_literal_testcase(_conj(example)), expected)
end)
end
return tests