mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
no word for zero value of thousand's power; PL unit test fix
Before: 1_000_000_000 = "miliard milionów tysięcy" (with words for zero millions and thousands) After: "miliard" (no words if value for given power of 1000 is 0)
This commit is contained in:
@@ -45,6 +45,10 @@ class Num2WordsPLTest(TestCase):
|
||||
"miliard dwieście trzydzieści cztery miliony pięćset "
|
||||
"sześćdziesiąt siedem tysięcy osiemset dziewięćdzisiąt"
|
||||
)
|
||||
self.assertEqual(
|
||||
num2words(10000000001000000100000, lang='pl'),
|
||||
"dziesięć tryliardów bilion sto tysięcy"
|
||||
)
|
||||
self.assertEqual(
|
||||
num2words(215461407892039002157189883901676, lang='pl'),
|
||||
"dwieście piętnaście kwintylionów czterysta sześćdziesiąt jeden "
|
||||
|
||||
Reference in New Issue
Block a user