mikaello / norwegian-national-id-validator

Validate Norwegian national identity numbers
https://mikaello.github.io/norwegian-national-id-validator
MIT License
24 stars 7 forks source link

Modulus validation of check digits #2

Closed mikaello closed 7 years ago

mikaello commented 7 years ago

Created a modulus validator for check digits. This is tested when calling validateNorwegianIdNumber(), but is not tested when calling possibleAgesOfPersonWithIdNumber(). Should it?