Skip to content

Commit 4d4ca04

Browse files
gonsaletmrodriguezg1991
authored andcommitted
Added tests for every currency gender combination (dollars, cents)
1 parent ef69a13 commit 4d4ca04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_es.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114

115115
TEST_CASES_TO_CURRENCY = (
116116
(1.00, 'un euro con cero céntimos'),
117+
(1.01, 'un euro con un céntimo'),
117118
(2.00, 'dos euros con cero céntimos'),
118119
(8.00, 'ocho euros con cero céntimos'),
119120
(12.00, 'doce euros con cero céntimos'),
@@ -125,6 +126,7 @@
125126

126127
TEST_CASES_TO_CURRENCY_ESP = (
127128
(1.00, 'una peseta con cero céntimos'),
129+
(1.01, 'una peseta con un céntimo'),
128130
(2.00, 'dos pesetas con cero céntimos'),
129131
(8.00, 'ocho pesetas con cero céntimos'),
130132
(12.00, 'doce pesetas con cero céntimos'),

0 commit comments

Comments
 (0)