Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/test_ec_ruc.doctest
Commit message (Collapse)AuthorAgeFilesLines
* Fix detection of natural RUC valuesArthur de Jong2021-09-191-2/+5
| | | | | | | A natural RUC is the CI plus an establishment number. Both the natural RUC and the public RUC can have a third digit with the value 6. Closes https://github.com/arthurdejong/python-stdnum/issues/267
* Add extra tests for the stdnum.ec.ruc moduleArthur de Jong2015-04-271-1/+185
| | | | These numbers were found in various online sources.
* Validate parts of numbersArthur de Jong2014-10-171-0/+26
| | | | | This raises exceptions when the provice or establishment number part of the number contains invalid values.
* Use dedicated doctestsArthur de Jong2014-10-171-0/+138
This moves a number of the existing test cases to dedicated doctest files and extend the tests with more numbers and corner cases. This also fixes a few docstrings.