7 #include <unittest++/UnitTest++.h>
14 vector<GaussianCore> cores;
15 cores.push_back(
GaussianCore({0,0,0},
"atom_1_basis_3-21G.tm"));
16 cores.push_back(
GaussianCore({1.4,0.0,0},
"atom_1_basis_3-21G.tm"));
26 CHECK_CLOSE(-1.122933363617109, solver.
energy(), 1e-6);
29 TEST(HydrogenMoleculeLongDistance) {
30 vector<GaussianCore> cores;
31 cores.push_back(
GaussianCore({0,0,0},
"atom_1_basis_4-31G.tm"));
32 cores.push_back(
GaussianCore({100.0,0,0},
"atom_1_basis_4-31G.tm"));
42 CHECK_CLOSE(-0.9964658189712963, solver.
energy(), 1e-6);
45 vector<GaussianCore> cores;
46 cores.push_back(
GaussianCore({0,0,0},
"atom_8_basis_4-31G.tm"));
47 cores.push_back(
GaussianCore({-1.43,1.108,0},
"atom_1_basis_4-31G.tm"));
48 cores.push_back(
GaussianCore({1.43,1.108,0},
"atom_1_basis_4-31G.tm"));
58 CHECK_CLOSE(-75.90736859918989, solver.
energy(), 1e-6);