Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Test currency float negative #15

Merged
merged 1 commit into from
Apr 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/test_tet.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,19 +404,19 @@ def test_currency_float(self):
def test_currency_float_negative(self):
self.assertEqual(
self.n2w.to_currency(Decimal('-2.34')),
'menus rua dólares resin tolunulu resin haat cêntimus'
'menus dolar rua sentavu tolunulu resin haat'
)
self.assertEqual(
self.n2w.to_currency(Decimal('-9.99')),
'menus sia dólares resin sianulu resin sia cêntimus'
'menus dolar sia sentavu sianulu resin sia'
)
self.assertEqual(
self.n2w.to_currency(Decimal('-7.01')),
'menus hitu dólares resin ida cêntimu'
'menus dolar hitu sentavu ida'
)
self.assertEqual(
self.n2w.to_currency(Decimal('-222.22')),
'menus atus rua ruanulu resin rua dólares resin ruanulu resin rua cêntimus'
'menus dolar atus rua ruanulu resin rua sentavu ruanulu resin rua'
)

def test_year(self):
Expand Down