def METHOD_NAME(rng, dt, sr):
    ns = T.NS[dt][sr]
    nd = [ (23 * ns) // 30, (5 * ns) // 8 ][dt]
    ok = True
    x  = (2 * rng.random(ns)) - 1
    y   = [ None ] * 2
    y_c = [ None ] * 2
    mdct = MdctInverse(dt, sr)
    y[0] = mdct.run(x)
    y[1] = mdct.run(x)
    (y_c[0], d_c) = lc3.mdct_inverse(dt, sr, x, np.zeros(nd))
    y_c[1] = lc3.mdct_inverse(dt, sr, x, d_c)[0]
    ok = ok and np.amax(np.abs(y[0] - y_c[0])) < 1e-5
    ok = ok and np.amax(np.abs(y[1] - y_c[1])) < 1e-5
    return ok