Debian Codegraph @

tests/benchmarks/test_int_to_bluetooth_address.py

raw symbols SCIP
1 from pytest_codspeed import BenchmarkFixture
2
3 from bluetooth_data_tools.utils import (
4 _int_to_bluetooth_address,
5 int_to_bluetooth_address,
6 )
7
8
9 def test_parse_int_to_bluetooth_address_uncached(benchmark: BenchmarkFixture) -> None:
10 benchmark(lambda: _int_to_bluetooth_address(0))
11
12
13 def test_parse_int_to_bluetooth_address_cached(benchmark: BenchmarkFixture) -> None:
14 benchmark(lambda: int_to_bluetooth_address(0))