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:
committed by
Willem Van Onsem
parent
593435f21a
commit
44a2b7cc2d
@@ -183,6 +183,10 @@ class Num2WordsTRTest(TestCase):
|
||||
"expected": u"yüzbirmilyaryüzbirmilyononbirbinonvirgüliki"},
|
||||
{"test": 101101011010.2, "to": "cardinal",
|
||||
"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:
|
||||
|
||||
Reference in New Issue
Block a user