Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Check digit validation is embedded in the specific code validations - which also includes other validations such as format or length. This proposal is to factor out the specific check digit calculation/valdiation logic into separate implementations - making them more easily tested and re-usable.
This will include a new CheckDigit type and intially implementations for ISBN-10, EAN-13 and Luhn check digit calculation/validation