def METHOD_NAME(self):
    # tests the AGF2 electron affinities for BeH/cc-pvdz
    e_ea, v_ea = self.gf2.eaagf2(nroots=3)
    v_ea = [np.linalg.norm(v)**2 for v in v_ea]
    self.assertAlmostEqual(e_ea[0], 0.03781071654337435, 6)
    self.assertAlmostEqual(e_ea[1], 0.04252189700736402, 6)
    self.assertAlmostEqual(e_ea[2], 0.0425218970073656 , 6)
    self.assertAlmostEqual(v_ea[0], 0.9740024912068087 , 6)
    self.assertAlmostEqual(v_ea[1], 0.9902310149008003 , 6)
    self.assertAlmostEqual(v_ea[2], 0.9902310149008006 , 6)