def METHOD_NAME(fitter1, fitter2, m_t):
    m, t = m_t
    f1 = fitter1(t, m)
    f2 = fitter2(t, m)
    with contextlib.suppress(MaxiterReached):
        f1.fit_toas(maxiter=1)
    with contextlib.suppress(MaxiterReached):
        f2.fit_toas(maxiter=1)
    for p in m.free_params:
        assert np.isclose(
            getattr(f1.model, p).value - getattr(f1.model_init, p).value,
            getattr(f2.model, p).value - getattr(f2.model_init, p).value,
        )