#include <basisfunctions/gaussian/gaussiancontractedorbital.h>
#include <electronsystems/gaussian/gaussiancore.h>
#include <electronsystems/gaussian/gaussiansystem.h>
#include "solvers/restrictedhartreefocksolver.h"
#include <unittest++/UnitTest++.h>
#include <unittest++/Test.h>
#include <unittest++/TestReporterStdout.h>
#include <unittest++/TestRunner.h>
#include <memory>
Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 13 of file main.cpp.
15 std::vector<std::string> tests;
16 if(argc > 1 && !strcmp(argv[1],
"dev")) {
17 tests.push_back(
"Development");
19 tests.push_back(
"CoulombIntegrals");
20 tests.push_back(
"BoysFunction");
21 tests.push_back(
"GaussianIntegral");
22 tests.push_back(
"Hydrogen");
23 tests.push_back(
"GaussianOxygen");
24 tests.push_back(
"Parser");
25 tests.push_back(
"Systems");
26 tests.push_back(
"Unrestricted");
29 for(
const std::string& testName : tests) {
30 std::cout <<
"Running " << testName << std::endl;
31 UnitTest::TestReporterStdout reporter;
32 UnitTest::TestRunner runner(reporter);
33 result += runner.RunTestsIf(UnitTest::Test::GetTestList(), testName.c_str(), UnitTest::True(), 0);
36 std::cerr <<
"FAILURE: Some tests failed! See above log for details..." << std::endl;