def test_dbyte_to_int_validation(low_byte, high_byte): with pytest.raises(ValueError): utils.dbyte_to_int(low_byte, high_byte)
def test_dbyte_to_int_validation(low_byte, high_byte): with pytest.raises(ValueError): utils.dbyte_to_int(low_byte, high_byte)
def test_dbyte_to_int(args, expected): """Test the ``dbyte_to_int`` function.""" assert utils.dbyte_to_int(*args) == expected
def test_dbyte_to_int(args, expected): """Test the ``dbyte_to_int`` function.""" assert utils.dbyte_to_int(*args) == expected