mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-05 22:32:25 +00:00
fix flake issues
This commit is contained in:
committed by
Willem Van Onsem
parent
7993ca5023
commit
c11927b353
@@ -89,9 +89,15 @@ class Num2WordsHETest(TestCase):
|
||||
|
||||
def test_to_currency(self):
|
||||
n = Num2Word_HE()
|
||||
self.assertEqual(n.to_currency(20.0 ,currency='NIS'), 'עשרים שקלים ואפס אגורות')
|
||||
self.assertEqual(n.to_currency(100.0 ,currency='NIS'), 'מאה שקלים ואפס אגורות')
|
||||
self.assertEqual(n.to_currency(100.50 ,currency='NIS'), 'מאה שקלים וחמישים אגורות')
|
||||
self.assertEqual(
|
||||
n.to_currency(20.0, currency='NIS'), 'עשרים שקלים ואפס אגורות'
|
||||
)
|
||||
self.assertEqual(
|
||||
(n.to_currency(100.0, currency='NIS'), 'מאה שקלים ואפס אגורות'
|
||||
)
|
||||
self.assertEqual(
|
||||
(n.to_currency(100.50, currency='NIS'), 'מאה שקלים וחמישים אגורות'
|
||||
)
|
||||
|
||||
def test_to_cardinal(self):
|
||||
n = Num2Word_HE()
|
||||
|
||||
Reference in New Issue
Block a user