()
| 32 | |
| 33 | |
| 34 | def test_ean_checksum_supplied_and_different() -> None: |
| 35 | ean = EAN13("8421671433229", no_checksum=True) # input has 13 digits |
| 36 | assert ean.calculate_checksum() == 5 |
| 37 | assert ean.ean == "8421671433229" |
| 38 | |
| 39 | |
| 40 | def test_ean_checksum_generated_placeholder() -> None: |
nothing calls this directly
no test coverage detected