def METHOD_NAME(dict_x, dict_y, atol=1e-7, rtol=1e-7):
    for k in dict_x:
        np.testing.assert_allclose(np.array(dict_x[k]),
                                   np.array(dict_y[k]),
                                   atol=atol,
                                   rtol=rtol)