2 #include <unittest++/UnitTest++.h>
3 #include <unittest++/Test.h>
4 #include <unittest++/TestReporterStdout.h>
5 #include <unittest++/TestRunner.h>
30 CHECK_CLOSE(0.075820496873881579, value, 1e-9);
33 TEST(KineticIntegral) {
40 CHECK_CLOSE(0.0204654960291562, value, 1e-9);
43 TEST(NuclearAttractionIntegral) {
50 CHECK_CLOSE(-1.78867607774792, value, 1e-9);
53 TEST(OverlapIntegral) {
60 CHECK_CLOSE(0.01891203832678, value, 1e-9);
63 TEST(HeliumAdvanceMany) {
67 for(
int i = 0; i < 500; i++) {
70 double value = solver.
energy();
71 CHECK_CLOSE(-2.855160382370257377, value, 1e-7);