def METHOD_NAME(first, second):
    assert type(first) is type(second)
    if type(first) == int:
        assert np.all(first == second)
    else:
        # if floating point, cannot check for equality, check for closeness
        # .all() for vector implementation (array returned)
        assert np.isclose(first, second, rtol=1e-9, atol=0).all()
    assert first.unit == second.unit == u.dimensionless_unscaled