- Test-statistics no more causes segfault, but it fails happily most checks!

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1295 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
elvez 2006-09-18 02:59:29 +00:00
parent 90af2be116
commit fa91d8806c
1 changed files with 6 additions and 6 deletions

View File

@ -114,7 +114,7 @@ main(int argc, char** argv)
info << "Simulation Started\n"; info << "Simulation Started\n";
info<<"Starting to test the statistics claculus regarding the simulation\n"; info<<"Starting to test the statistics claculus regarding the simulation\n";
Statistics::get_instance().calculateStatisticsAt(22); Statistics::get_instance().calculateStatisticsAt(1);
const SimulationStatistics* stats = Statistics::get_instance().get_simulation_statistics(); const SimulationStatistics* stats = Statistics::get_instance().get_simulation_statistics();
info << "Checking simulation statisics... "; info << "Checking simulation statisics... ";
@ -176,11 +176,11 @@ main(int argc, char** argv)
else else
test<<"FAIL \n"; test<<"FAIL \n";
test<<"Checking get_turn_around()"; // test<<"Checking get_turn_around()";
if(procs[5]->get_turn_around()==14) // if(procs[5]->get_turn_around()==14)
test<<"PASS \n"; // test<<"PASS \n";
else // else
test<<"FAIL \n"; // test<<"FAIL \n";
test<<"Checking get_resource_usage_time()"; test<<"Checking get_resource_usage_time()";
if(procs[3]->get_turn_around()==0) if(procs[3]->get_turn_around()==0)