def test_real_alpha_xy(self): w = 0.4425 re_alpha, _ = LR("XDIPLEN", "YDIPLEN", w, tmpdir=self.tmpdir, absorption=True) assert -round(re_alpha, 6) == approx(-0.000004)
def test_real_alpha_zz(self): w = 0.4475 re_alpha, _ = LR("ZDIPLEN", "ZDIPLEN", w, tmpdir=self.tmpdir, absorption=True) assert -re_alpha == approx(32.275296)
def test_real_alpha_yy(self): w = 0.4450 re_alpha, _ = LR("YDIPLEN", "YDIPLEN", w, tmpdir=self.tmpdir, absorption=True) assert -re_alpha == approx(31.544221)
def test_real_alpha_xx(self): w = 0.4425 re_alpha, _ = LR("XDIPLEN", "XDIPLEN", w, tmpdir=self.tmpdir, absorption=True) assert -re_alpha == approx(30.854533)
def test_real_im(self): w = 0.4425 _, im_alpha = LR("XDIPLEN", "XDIPLEN", w, tmpdir=self.tmpdir, absorption=True) assert -im_alpha == approx(1.228334)
def test_real_alpha_yz(self): w = 0.4425 re_alpha, _ = LR("XDIPLEN", "ZDIPLEN", w, tmpdir=self.tmpdir, absorption=True) assert -re_alpha == approx(0.000000)
def test_ZZ(self): ZZ = LR("ZDIPLEN", "ZDIPLEN", 0, self.tmpdir) ZZref = -10.308181624834 assert ZZ == approx(ZZref)
def test_YZ(self): YZ = LR("YDIPLEN", "ZDIPLEN", 0, self.tmpdir) YZref = 0.016158638023 assert YZ == approx(YZref)
def test_YY(self): YY = LR("YDIPLEN", "YDIPLEN", 0, self.tmpdir) YYref = -6.184500121159 assert YY == approx(YYref)
def test_XX(self): XX = LR("XDIPLEN", "XDIPLEN", 0, self.tmpdir) XXref = -2.461169664950 assert XX == approx(XXref)
def test_ZZ(self): ZZ = LR("ZDIPLEN", "ZDIPLEN", 0, self.tmpdir) ZZref = -3.124432068117 assert ZZ == approx(ZZref)
def test_YZ(self): YZ = LR("YDIPLEN", "ZDIPLEN", 0, self.tmpdir) YZref = 0.2324294799056 assert YZ == approx(YZref)
def test_YY(self): YY = LR("YDIPLEN", "YDIPLEN", 0, self.tmpdir) YYref = -10.31180304740 assert YY == approx(YYref)
def test_XX(self): XX = LR("XDIPLEN", "XDIPLEN", 0, self.tmpdir) XXref = -5.455606903637 assert XX == approx(XXref)