- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/unittests/AnalysisPairCorrelationUnitTest.cpp
r920c70 r1bd79e 44 44 TestList = NULL; 45 45 TestMolecule = NULL; 46 hydrogen = NULL; 47 tafel = NULL; 46 48 correlationmap = NULL; 47 49 binmap = NULL; 48 50 51 // construct element 52 hydrogen = new element; 53 hydrogen->Z = 1; 54 strcpy(hydrogen->name, "hydrogen"); 55 strcpy(hydrogen->symbol, "H"); 56 57 // construct periodentafel 58 tafel = World::getInstance().getPeriode(); 59 tafel->AddElement(hydrogen); 60 49 61 // construct molecule (tetraeder of hydrogens) 50 hydrogen = World::getInstance().getPeriode()->FindElement(1);51 62 TestMolecule = World::getInstance().createMolecule(); 52 63 Walker = World::getInstance().createAtom(); … … 90 101 // note that all the atoms are cleaned by TestMolecule 91 102 World::purgeInstance(); 103 MemoryUsageObserver::purgeInstance(); 92 104 logger::purgeInstance(); 93 105 errorLogger::purgeInstance();
Note:
See TracChangeset
for help on using the changeset viewer.