Added new test class, reworked some code
Started Implementing Ionization
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
//
|
||||
|
||||
#include "simulation.h"
|
||||
#include "tests.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#define Debug( x ) std::cout << x << std::endl;
|
||||
@@ -17,6 +18,18 @@
|
||||
|
||||
int main(int argc, const char * argv[]) {
|
||||
Debug("Debug Mode is on.")
|
||||
|
||||
runTests();
|
||||
/*
|
||||
std::clock_t start;
|
||||
double duration;
|
||||
start = std::clock();
|
||||
|
||||
Simulation Sim;
|
||||
Sim.initLogger();
|
||||
Sim.doit();
|
||||
|
||||
duration = ( std::clock() - start ) / (double) CLOCKS_PER_SEC;
|
||||
std::cout<<"Duration: "<< duration <<'\n';
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user