def METHOD_NAME(self):
    """Test helper function _adjust_range."""
    assert (
        AddressFilter.Range._adjust_range(GroupAddress.MAX_FREE + 1)
        == GroupAddress.MAX_FREE
    )
    assert AddressFilter.Range._adjust_range(-1) == 0