1 #include <unittest++/UnitTest++.h>
17 vector<GaussianCore> cores;
18 cores.push_back(
GaussianCore({0,0,0},
"atom_8_basis_4-31G.tm"));
19 cores.push_back(
GaussianCore({-1.43,1.108,0},
"atom_1_basis_4-31G.tm"));
20 cores.push_back(
GaussianCore({1.43,1.108,0},
"atom_1_basis_4-31G.tm"));
31 CHECK_CLOSE(solver.
energy(), -75.90736859918989, 1e-6);
34 vector<GaussianCore> cores;
35 cores.push_back(
GaussianCore({0,0,0},
"atom_1_basis_3-21G.tm"));
36 cores.push_back(
GaussianCore({1.4,0.0,0},
"atom_1_basis_3-21G.tm"));
46 CHECK_CLOSE(-1.122933363617109, solver.
energy(), 1e-6);
48 TEST(HydrogenMolecule631Gdsds) {
49 vector<GaussianCore> cores;
50 cores.push_back(
GaussianCore({0,0,0},
"atom_1_basis_6-31Gdsds.tm"));
51 cores.push_back(
GaussianCore({1.4,0.0,0},
"atom_1_basis_6-31Gdsds.tm"));
61 CHECK_CLOSE(-1.13128434930047, solver.
energy(), 1e-6);
64 vector<GaussianCore> cores;
65 cores.push_back(
GaussianCore({0,0,0},
"atom_10_basis_3-21G.tm"));
76 CHECK_CLOSE(-127.8038245281864, solver.
energy(), 1e-5);
79 vector<GaussianCore> cores;
80 cores.push_back(
GaussianCore({0,0,0},
"atom_8_basis_6-311G.tm"));
81 cores.push_back(
GaussianCore({2.282,0,0},
"atom_8_basis_6-311G.tm"));
92 CHECK_CLOSE(-149.5117583638509, solver.
energy(), 1e-5);
94 TEST(OxygenSixAsterisk) {
95 vector<GaussianCore> cores;
96 cores.push_back(
GaussianCore({0,0,0},
"atom_8_basis_6-31Gds.tm"));
97 cores.push_back(
GaussianCore({2.282,0,0},
"atom_8_basis_6-31Gds.tm"));
109 CHECK_CLOSE(-149.5876095851103, solver.
energy(), 1e-5);