()
| 20 | |
| 21 | |
| 22 | def test_ean_checksum_supplied_and_generated() -> None: |
| 23 | ean = EAN13("8421671433225") # input has 13 digits |
| 24 | assert ean.calculate_checksum() == 5 |
| 25 | assert ean.ean == "8421671433225" |
| 26 | |
| 27 | |
| 28 | def test_ean_checksum_supplied_and_matching() -> None: |
nothing calls this directly
no test coverage detected