mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
[TEST] ordinal_num test
This commit is contained in:
@@ -183,6 +183,10 @@ class Num2WordsTRTest(TestCase):
|
|||||||
"expected": u"yüzbirmilyaryüzbirmilyononbirbinonvirgüliki"},
|
"expected": u"yüzbirmilyaryüzbirmilyononbirbinonvirgüliki"},
|
||||||
{"test": 101101011010.2, "to": "cardinal",
|
{"test": 101101011010.2, "to": "cardinal",
|
||||||
"expected": u"yüzbirmilyaryüzbirmilyononbirbinonvirgülyirmi"}
|
"expected": u"yüzbirmilyaryüzbirmilyononbirbinonvirgülyirmi"}
|
||||||
|
{"test": 10, "to": "ordinal_num", "expected": u"10uncu"}
|
||||||
|
{"test": 1, "to": "ordinal_num","expected": u"1inci"}
|
||||||
|
{"test": 3, "to": "ordinal_num","expected": u"3üncü"}
|
||||||
|
{"test": 6, "to": "ordinal_num","expected": u"6ıncı"}
|
||||||
]
|
]
|
||||||
|
|
||||||
for casedata in testcases:
|
for casedata in testcases:
|
||||||
|
|||||||
Reference in New Issue
Block a user