def METHOD_NAME(self, actual, desired, nulp=1):
    """Compare two arrays relatively to their spacing.
    This is a relatively robust method to compare two arrays whose amplitude
    is variable.
    Parameters
    ----------
    actual : array_like
        Array obtained.
    desired : array_like
        Array desired.
    nulp : int, optional
        The maximum number of unit in the last place for tolerance (see Notes).
        Default is 1.
    Returns
    -------
    None
    Raises
    ------
    AssertionError
        If the spacing between ``actual`` and ``desired`` for one or more elements
        is larger than ``nulp``.
    Notes
    -----
    An assertion is raised if the following condition is not met::
        abs(x - y) <= nulps * spacing(maximum(abs(x), abs(y)))
    """
    np.testing.assert_array_almost_equal_nulp(x=actual, y=desired, nulp=nulp)