mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
[tr] return Turkish 0 ordinal and cardinal (#347)
* [tr] return Turkish 0 ordinal and cardinal * add str_to_number to Turkish * try rather use Num2Word_Base
This commit is contained in:
committed by
Willem Van Onsem
parent
ea82fe11ca
commit
79a9abfaba
@@ -36,6 +36,7 @@ class Num2WordsTRTest(TestCase):
|
||||
"expected": u"birmilyonikibinbirlira"},
|
||||
{"test": 1100000, "to": "currency",
|
||||
"expected": u"birmilyonyüzbinlira"},
|
||||
{"test": 0, "to": "ordinal", "expected": u"sıfırıncı"},
|
||||
{"test": 1, "to": "ordinal", "expected": u"birinci"},
|
||||
{"test": 2, "to": "ordinal", "expected": u"ikinci"},
|
||||
{"test": 9, "to": "ordinal", "expected": u"dokuzuncu"},
|
||||
@@ -108,6 +109,7 @@ class Num2WordsTRTest(TestCase):
|
||||
"expected": u"birmilyonüçbininci"},
|
||||
{"test": 1200000, "to": "ordinal",
|
||||
"expected": u"birmilyonikiyüzbininci"},
|
||||
{"test": 0, "to": "cardinal", "expected": u"sıfır"},
|
||||
{"test": 1, "to": "cardinal", "expected": u"bir"},
|
||||
{"test": 2, "to": "cardinal", "expected": u"iki"},
|
||||
{"test": 9, "to": "cardinal", "expected": u"dokuz"},
|
||||
|
||||
Reference in New Issue
Block a user