- 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
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.
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>
* add kannada support
* add Kannada Language support
* add tests for kannada
* reformatted
* change lang param
* fix tests
* add condition
* add modifier
* add few more test cases
* fix test
* fix test
* modify test
* fix flake8
* fix isort
* add more tests
* add unicode prefix
* edit tests for float numbers
* add more tests
* add unicode prefix in tests
* add Kannada language
Commit 53b4518 made added explicit utf-8 encoding for all sources, among
other things. A copyright notice in `tests/test_tr.py` was removed and
two were added in `num2words/lang_it.py`. I know this was a simple
mistake, I just thought it would be best to explicitly give credit where
credit is due.
* Fix currency function for French. Adding Currency_Forms.
* Fix currency function for German. Adding Currency_Forms.
* Move FR_DZ to new currency functions, too.
* Fix tests
* Add more currency options for dutch.
* Add more tests for German, Dutch and French currencies.
* Multitude of corrections of Slovene language
* Indentation correction for flake8
* Added tests from https://github.com/gregopet/num2words by @gregopet and merged them with existing.
* Flake8ing tests.
* Sorted imports
* Some more sorting...
* Last time for sorting?