Debian Codegraph @

bench/test_short_address.py

raw symbols SCIP
1 from bluetooth_data_tools import short_address
2
3
4 def test_short_address_colon(benchmark):
5 benchmark(lambda: short_address("AA:BB:CC:DD:EE:FF"))
6
7
8 def test_short_address_dash(benchmark):
9 benchmark(lambda: short_address("AA-BB-CC-DD-EE-FF"))