| 1 | from bluetooth_data_tools.utils import ( |
| 2 | _int_to_bluetooth_address, |
| 3 | int_to_bluetooth_address, |
| 4 | ) |
| 5 | |
| 6 | |
| 7 | def test_parse_int_to_bluetooth_address_uncached(benchmark): |
| 8 | benchmark(lambda: _int_to_bluetooth_address(0)) |
| 9 | |
| 10 | |
| 11 | def test_parse_int_to_bluetooth_address_cached(benchmark): |
| 12 | benchmark(lambda: int_to_bluetooth_address(0)) |