Commit Graph

453 Commits

Author SHA1 Message Date
Ernesto Rodriguez Ortiz
cb9fff1189 Merge branch 'master' into es_coverage 2019-12-30 17:15:38 -05:00
Ernesto Rodriguez Ortiz
3d14f7a5bb Merge branch 'master' into en_coverage 2019-12-27 16:35:33 -05:00
Ernesto Rodriguez Ortiz
b594ac0513 Merge pull request #298 from toofun666/master
Update test_tr.py to increase coverage
2019-12-27 16:11:50 -05:00
Tufan Kaynak
234e02dd54 updated tests 2019-12-13 20:18:59 +03:00
Tufan Kaynak
0236257876 updated tests 2019-12-13 19:49:39 +03:00
Tufan Kaynak
39ef298626 updated tests 2019-12-13 19:13:41 +03:00
Tufan Kaynak
3da9fd8705 updated tests 2019-12-13 19:08:49 +03:00
Tufan Kaynak
fe0bc1adbd updated tests 2019-12-13 19:06:36 +03:00
Tufan Kaynak
6a4e955049 updated tests 2019-12-13 19:02:02 +03:00
Tufan Kaynak
739f02d830 updated tests 2019-12-13 18:55:38 +03:00
Tufan Kaynak
a7971f1156 updated tests 2019-12-13 18:46:34 +03:00
Tufan Kaynak
f5c07d714d updated tests 2019-12-13 17:35:32 +03:00
Tufan Kaynak
2fae9512ce updated tests 2019-12-13 17:26:26 +03:00
Tufan Kaynak
2c629f8349 updated tests 2019-12-13 17:16:02 +03:00
Tufan Kaynak
7c6a716165 updated tests 2019-12-13 17:12:13 +03:00
Tufan Kaynak
0b22ac1950 updated tests 2019-12-13 17:11:07 +03:00
Tufan Kaynak
1514514ed9 updated tests 2019-12-13 17:06:07 +03:00
Tufan Kaynak
8e19dd584b updated tests 2019-12-13 16:59:02 +03:00
Tufan Kaynak
12ef620b29 updated tests 2019-12-13 16:49:40 +03:00
Tufan Kaynak
9b8a541224 updated tests 2019-12-13 16:45:01 +03:00
Tufan Kaynak
ede1db8690 updated tests 2019-12-13 16:38:39 +03:00
yliharma
ed47b30e99 Merge branch 'master' into master 2019-11-22 16:03:41 +01:00
mariaS210
dc7f7907e5 romanian-issues-259: revert a test 2019-11-07 23:29:43 +02:00
mariaS210
09d5da3555 romanian-issues-259: fix linter error 2019-11-07 23:08:16 +02:00
mariaS210
b362b7b347 romanian-issues-259: implement and use pluralize 2019-11-07 23:02:41 +02:00
Ben Harper
f665cb32f4 Merge branch 'master' into es_coverage 2019-10-29 21:57:27 -04:00
mariaS210
9943be7d71 Merge branch 'master' into romanian-issues-259 2019-10-28 15:49:51 +02:00
Ariel Allon
c1e3e854bb Use non-url-encoded source URL to avoid CI rejection for too-long line 2019-10-28 09:34:14 -04:00
Ariel Allon
28c304c2f4 Fix Hebrew support
- Correct gender of 1 and 2 (and 11 and 12) to match remainder of numbers
- Fix spelling of 8 (and 18 and 80)
- Add cases for thousands 3-9 and support in the logic
- Fix placement of "and" conjunction to match Academy of Hebrew Language position
- Add tests
2019-10-28 09:34:14 -04:00
btharper
b82bf457d4 Fill out coverage for lang_EN.py 2019-10-26 23:39:24 -04:00
btharper
d161b4348d Remove excess try/except KeyError block 2019-10-26 23:22:23 -04:00
btharper
6819f5a6ed Fix py2/3 difference on division and update test case 2019-10-26 22:38:50 -04:00
btharper
d82f739bc9 Add ordinal 12,345 to ES test suite to increase coverage 2019-10-26 17:37:47 -04:00
btharper
7cd31a93f1 Add simple tests for lang_DK.py 2019-10-26 16:37:22 -04:00
William José Moreno Reyes
a1d29fc2bc Update to title test
Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
2019-10-25 21:40:26 -06:00
William José Moreno Reyes
e90061af65 Add more tests to cover num2words/base.py
Fix:
 - https://github.com/savoirfairelinux/num2words/issues/125

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
2019-10-25 21:40:26 -06:00
William José Moreno Reyes
601e8cee84 Add AttributeError to to_cardinal_float
Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
2019-10-25 21:40:26 -06:00
Ernesto Rodriguez Ortiz
9290282ca2 Merge branch 'master' into romanian-issues-259 2019-10-25 23:22:02 -04:00
William José Moreno Reyes
4f116228b5 Update .gitignore to add .eggs/ directory
Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
2019-10-25 23:20:51 -04:00
Ernesto Rodriguez Ortiz
af199a472c Merge branch 'master' into master 2019-10-25 18:37:47 -04:00
Ernesto Rodriguez Ortiz
7e893f1ef6 Merge branch 'master' into romanian-issues-259 2019-10-25 18:36:11 -04:00
William José Moreno Reyes
3cb0b40fd5 Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
Add a test to check correct error raises

This is a simple test to check that NotImplementedError raises
fine. This also should improve test code coverage.
2019-10-25 18:33:40 -04:00
William José Moreno Reyes
3202476d55 Add es_NI test
Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
2019-10-25 18:33:40 -04:00
William José Moreno Reyes
5e15702912 Add es_NI currency
Examples:

  python bin/num2words 1 -l es_NI --to currency
  un córdoba con cero centavos

  python bin/num2words 1.02 -l es_NI --to currency
  un córdoba con dos centavos

  python bin/num2words 2.02 -l es_NI --to currency
  dos córdobas con dos centavos

  python bin/num2words 1.01 -l es_NI --to currency
  un córdoba con un centavo

Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
2019-10-25 18:33:40 -04:00
Ivan Petukhov
ca5989a3ec Add KZT and UAH currencies to lang RU 2019-09-10 16:46:05 -04:00
Paola Coccia
d14f3388ff Fixed misspelling of 21st (ordinal number) in IT language 2019-08-26 18:07:30 +02:00
A.V.GOPAL
4bd2f0259f Merge pull request #1 from sarahberanek/master
Add Ordinal Numbers Test for Kannada.
2019-08-19 14:11:44 +02:00
Sarah Beranek
b89acf6709 Add Ordinal Numbers Test for Kannada. 2019-08-19 13:07:47 +02:00
VENUGOPAL ACHHE
3c51be6c1f correction for ordinal case telugu test case and lang_TE 2019-07-22 09:36:57 +02:00
VENUGOPAL ACHHE
0283012532 2nd correction for telugu test case and lang_TE 2019-07-17 11:50:25 +02:00