def test_safelog_extra_repr(epilson, expected_repr):
    """
    Test the extra_repr method of the SafeLog class to ensure it returns
    the correct string representation based on the eps value.

    Parameters
    ----------
    eps : float
        The epsilon value to initialize SafeLog with.
    expected_repr : str
        The expected string output from extra_repr.
    """
    # Initialize the SafeLog module with the given eps
    module = SafeLog(epilson)

    # Get the extra representation
    repr_output = module.extra_repr()

    # Assert that the extra_repr output matches the expected string
    assert repr_output == expected_repr, f"Expected '{expected_repr}', got '{repr_output}'"

    Test the extra_repr method of the SafeLog class to ensure it returns
    the correct string representation based on the eps value.

    Parameters
    ----------
    eps : float
        The epsilon value to initialize SafeLog with.
    expected_repr : str
        The expected string output from extra_repr.
    
test/unit_tests/models/test_modules.py