Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WhyNotHugo/python-barcode
/ test_ean8_checksum
Function
test_ean8_checksum
tests/test_checksums.py:21–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
20
21
def
test_ean8_checksum() -> None:
22
ean = get_barcode(
"ean8"
,
"6032299"
)
23
assert ean.get_fullcode() ==
"60322999"
24
25
26
def
test_jan_checksum() -> None:
Callers
nothing calls this directly
Calls
1
get_fullcode
Method · 0.45
Tested by
no test coverage detected