10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-23 04:43:50 +01:00

Change SO2 for HBO in unitest (test need to be fast)

This commit is contained in:
Thomas Applencourt 2015-05-05 10:33:22 +02:00
parent ad3d6317b2
commit ec26b457b3
2 changed files with 7 additions and 1 deletions

5
tests/HBO.xyz Normal file
View File

@ -0,0 +1,5 @@
3
HBO Geo: Experiment Mult: 1 symmetry: 14
B 0.0 0.0 1.166
H 0.0 0.0 0.0
O 0.0 0.0 2.366

View File

@ -169,6 +169,7 @@ def run_hf(geo, basis, mult=1, pseudo=False, remove_after_sucess=True):
ref_energy["sto-3g"]["methane"] = Energy(-39.7267433402, None)
ref_energy["vdz"]["SO2"] = Energy(None, -41.48912297776174)
ref_energy["vdz"]["HBO"] = Energy(None, -19.11982537379352)
# ~#~#~#~#~#~#~#~#~#~#~#~#~#~#~ #
# G l o b a l _ v a r i a b l e #
@ -378,7 +379,7 @@ class ValueTest(unittest.TestCase):
pseudo=False))
def test_hf(self):
self.assertTrue(run_hf(geo="SO2",
self.assertTrue(run_hf(geo="HBO",
basis="vdz",
mult=1,
pseudo=True))