That's one of the reasons I suggest to separate the check digit from the integer list that is passed to the `passesMod11Test`, also change the method `mod11` so that it returns the module without the (sum % 11 > 2), the handling of the digit can be delegated to the passesMod11Test or better to `ModCheckValidator`
|