mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
Attempt at refactoring to_currency into base (#135)
* Attempt at refactoring lv to base * Remove dead files. * Use static props. * Convert doctests, move utils out. * Refactor lt * Update and move ru doctests. * Refactor ru. * Refactor pl. * Move uk doctests. * Refactor uk. * DRY * Cleanup.
This commit is contained in:
committed by
Ernesto Rodriguez Ortiz
parent
1c699d1bb4
commit
1e954c909b
@@ -50,7 +50,7 @@ class Num2WordsENTest(TestCase):
|
||||
|
||||
self.assertEqual(
|
||||
num2words('4778.00', lang='en', to='currency', seperator=' and',
|
||||
cents=True, currency='USD', prefix=True),
|
||||
cents=True, currency='USD', adjective=True),
|
||||
'four thousand, seven hundred and seventy-eight US dollars'
|
||||
' and zero cents')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user