1 #include <unittest++/UnitTest++.h>
18 TEST(HydrogenOverlapIntegral) {
22 CHECK_CLOSE(4.296692816768918, value, 1e-9);
25 TEST(HydrogenElectronInteractionIntegral) {
29 CHECK_CLOSE(0.9066377680574234, value, 1e-9);
32 TEST(HydrogenNuclearAttractionIntegral) {
36 CHECK_CLOSE(-43.96134564895876, value, 1e-9);
49 TEST(HydrogenAdvanceManyHF) {
52 for(
int i = 0; i < 100; i++) {
59 TEST(MultiHydrogenAdvanceManyHF) {
60 mat nucleiPositions {0,0,0,
63 nucleiPositions.reshape(3,3);
64 nucleiPositions = nucleiPositions.t();
67 for(
int i = 0; i < 100; i++) {