def METHOD_NAME(self):
    mc1 = mcscf.approx_hessian(mcscf.UCASCI(m, 5, (4,2), ncore=(2,2)))
    mc1.max_memory = 0
    eri1 = mc1.get_h2eff((m.mo_coeff[0][:,2:7], m.mo_coeff[1][:,2:7]))
    eri2 = mc1.get_h2cas((m.mo_coeff[0][:,2:7], m.mo_coeff[1][:,2:7]))
    self.assertAlmostEqual(abs(eri1[0]-eri2[0]).max(), 0, 12)
    self.assertAlmostEqual(abs(eri1[1]-eri2[1]).max(), 0, 12)
    self.assertAlmostEqual(abs(eri1[2]-eri2[2]).max(), 0, 12)
    # TODO:
    #mc1 = mcscf.density_fit(mcscf.UCASCI(m, 6, 6, ncore=(6,4)))
    #eri1 = mc1.get_h2eff((m.mo_coeff[0][:,6:12], m.mo_coeff[1][:,4:10]))
    #eri2 = mc1.get_h2cas((m.mo_coeff[0][:,6:12], m.mo_coeff[1][:,4:10]))
    #self.assertTrue(abs(eri1[0]-eri2[0]).max() > 1e-5)
    #self.assertTrue(abs(eri1[1]-eri2[1]).max() > 1e-5)
    #self.assertTrue(abs(eri1[2]-eri2[2]).max() > 1e-5)