Module:User:RichardW57/pi-decl/noun/testcases
Jump to navigation
Jump to search
- The following documentation is located at Module:User:RichardW57/pi-decl/noun/testcases/documentation. [edit] Categories were auto-generated by Module:documentation. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • tested module • user page • user talk page • userspace
Demonstrations
[edit]Noun
[edit]testcases m
- oneself
Declension
[edit]Artificially remove the nominative case:
Declension table of "attan" (masculine)
Case \ Number | Singular | Plural |
---|---|---|
Accusative (second) | attānaṃ or attaṃ or attanaṃ | attāno or atte |
Instrumental (third) | attanā or attena | attanehi or attanebhi |
Dative (fourth) | attano or attassa | attānaṃ |
Ablative (fifth) | attanā or attasmā or attamhā | attanehi or attanebhi |
Genitive (sixth) | attano or attassa | attānaṃ |
Locative (seventh) | attani or attasmiṃ or attamhi | attesu |
Vocative (calling) | atta or attā | attāno or attā |
Noun
[edit]testcases n
- strength
Declension
[edit]Add a consonant stem instrumental singular!
Declension table of "bala" (neuter)
Case \ Number | Singular | Plural |
---|---|---|
Nominative (first) | balaṃ | balāni |
Accusative (second) | balaṃ | balāni |
Instrumental (third) | balena or balasā | balehi or balebhi |
Dative (fourth) | balassa or balāya or balatthaṃ | balānaṃ |
Ablative (fifth) | balasmā or balamhā or balā | balehi or balebhi |
Genitive (sixth) | balassa | balānaṃ |
Locative (seventh) | balasmiṃ or balamhi or bale | balesu |
Vocative (calling) | bala | balāni |
Pronoun/Adjective
[edit]ta
- that
Declension
[edit]Massively irregular!
Declension table of "ta" (masculine)
Regression Test
[edit]Test test_same checks that Module:User:RichardW57/pi-decl/noun and Module:pi-decl/noun generate the same output for old style inputs.
15 of 15 tests failed. (refresh)
Text | Expected | Actual | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Template:User:RichardW57/pi-decl-noun|assa|a|g=m}} | Declension table of "assa" (masculine)
| Declension table of "assa" (masculine)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Template:User:RichardW57/pi-decl-noun|অঙ্গ|a|g=n}} | Declension table of "অঙ্গ" (neuter)
| Declension table of "অঙ্গ" (neuter)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Template:User:RichardW57/pi-decl-noun|චන්දිමා|ā|g=m}} | Declension table of "චන්දිමා" (masculine)
| Declension table of "චන්දිමා" (masculine)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Template:User:RichardW57/pi-decl-noun|अम्मा|ā|g=f}} | Declension table of "अम्मा" (feminine)
| Declension table of "अम्मा" (feminine)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Template:User:RichardW57/pi-decl-noun|ဣသိ|i|g=m}} | Declension table of "ဣသိ" (masculine)
| Declension table of "ဣသိ" (masculine)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Template:User:RichardW57/pi-decl-noun|ชาติ|i|g=f}} | Declension table of "ชาติ" (feminine)
| Declension table of "ชาติ" (feminine)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Template:User:RichardW57/pi-decl-noun|ᩋᨠ᩠ᨡᩥ|i|g=n}} | Declension table of "ᩋᨠ᩠ᨡᩥ" (neuter)
| Declension table of "ᩋᨠ᩠ᨡᩥ" (neuter)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Template:User:RichardW57/pi-decl-noun|មានី|ī|g=m}} | Declension table of "មានី" (masculine)
| Declension table of "មានី" (masculine)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Template:User:RichardW57/pi-decl-noun|nadī|ī|g=f}} | Declension table of "nadī" (feminine)
| Declension table of "nadī" (feminine)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Template:User:RichardW57/pi-decl-noun|𑀧𑀁𑀲𑀼|u|g=m}} | Declension table of "𑀧𑀁𑀲𑀼" (masculine)
| Declension table of "𑀧𑀁𑀲𑀼" (masculine)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Template:User:RichardW57/pi-decl-noun|जम्बु|u|g=f}} | Declension table of "जम्बु" (feminine)
| Declension table of "जम्बु" (feminine)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Template:User:RichardW57/pi-decl-noun|জত্তু|u|g=n}} | Declension table of "জত্তু" (neuter)
| Declension table of "জত্তু" (neuter)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Template:User:RichardW57/pi-decl-noun|sayambhū|ū|g=m}} | Declension table of "sayambhū" (masculine)
| Declension table of "sayambhū" (masculine)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Template:User:RichardW57/pi-decl-noun|vadhū|ū|g=f}} | Declension table of "vadhū" (feminine)
| Declension table of "vadhū" (feminine)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Template:User:RichardW57/pi-decl-noun|kattar|ar|g=m}} | Declension table of "kattar" (masculine)
| Declension table of "kattar" (masculine)
|
local tests = require('Module:UnitTests')
function tests:test_same()
--[[ here be the tests ]]
--preprocess_equals(text, expected, options)
instance = function(targs)
tests:preprocess_equals_preprocess(
'{{Template:User:RichardW57/pi-decl-noun|'..targs..'}}',
'{{pi-decl-noun|'..targs..'}}'
)
end
instance('assa|a|g=m')
instance('অঙ্গ|a|g=n')
instance('චන්දිමා|ā|g=m')
instance('अम्मा|ā|g=f')
instance('ဣသိ|i|g=m')
instance('ชาติ|i|g=f')
instance('ᩋᨠ᩠ᨡᩥ|i|g=n')
instance('មានី|ī|g=m')
instance('nadī|ī|g=f')
instance('𑀧𑀁𑀲𑀼|u|g=m')
instance('जम्बु|u|g=f')
instance('জত্তু|u|g=n')
instance('sayambhū|ū|g=m')
instance('vadhū|ū|g=f')
instance('kattar|ar|g=m')
end
return tests