Changeset 91f592 for src/LinkedCell
- Timestamp:
- Dec 28, 2011, 3:30:06 PM (13 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- 6f0841
- Parents:
- aa6c75
- git-author:
- Frederik Heber <heber@…> (11/15/11 14:15:25)
- git-committer:
- Frederik Heber <heber@…> (12/28/11 15:30:06)
- Location:
- src/LinkedCell
- Files:
-
- 2 added
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
src/LinkedCell/unittests/linkedcellUnitTest.cpp
raa6c75 r91f592 38 38 #include "World.hpp" 39 39 40 #include " LinkedCellUnitTest.hpp"40 #include "linkedcellUnitTest.hpp" 41 41 42 42 #ifdef HAVE_TESTRUNNER … … 47 47 48 48 // Registers the fixture into the 'registry' 49 CPPUNIT_TEST_SUITE_REGISTRATION( LinkedCellTest );50 51 52 void LinkedCellTest::setUp()49 CPPUNIT_TEST_SUITE_REGISTRATION( linkedcelltest ); 50 51 52 void linkedcelltest::setUp() 53 53 { 54 54 // failing asserts should be thrown … … 84 84 85 85 86 void LinkedCellTest::tearDown()86 void linkedcelltest::tearDown() 87 87 { 88 88 delete(LC); … … 93 93 /** UnitTest for LinkedCell::CheckBounds(). 94 94 */ 95 void LinkedCellTest::CheckBoundsTest()95 void linkedcelltest::CheckBoundsTest() 96 96 { 97 97 // check for within bounds … … 124 124 * Note that CheckBounds() is used and has to be tested already. 125 125 */ 126 void LinkedCellTest::GetCurrentCellTest()126 void linkedcelltest::GetCurrentCellTest() 127 127 { 128 128 // within bounds … … 145 145 /** UnitTest for LinkedCell::GetRelativeToCurrentCell(). 146 146 */ 147 void LinkedCellTest::GetRelativeToCurrentCellTest()147 void linkedcelltest::GetRelativeToCurrentCellTest() 148 148 { 149 149 int offset[3]; … … 202 202 /** UnitTest for LinkedCell::SetIndexToNode(). 203 203 */ 204 void LinkedCellTest::SetIndexToNodeTest()204 void linkedcelltest::SetIndexToNodeTest() 205 205 { 206 206 // check all atoms … … 227 227 /** UnitTest for LinkedCell::SetIndexToVector(). 228 228 */ 229 void LinkedCellTest::SetIndexToVectorTest()229 void linkedcelltest::SetIndexToVectorTest() 230 230 { 231 231 Vector tester; … … 263 263 /** UnitTest for LinkedCell::GetNeighbourBounds(). 264 264 */ 265 void LinkedCellTest::GetNeighbourBoundsTest()265 void linkedcelltest::GetNeighbourBoundsTest() 266 266 { 267 267 Vector tester; … … 280 280 /** UnitTest for LinkedCell::GetallNeighbours(). 281 281 */ 282 void LinkedCellTest::GetallNeighboursTest()282 void linkedcelltest::GetallNeighboursTest() 283 283 { 284 284 Vector tester; … … 341 341 /** UnitTest for LinkedCell::GetPointsInsideSphere(). 342 342 */ 343 void LinkedCellTest::GetPointsInsideSphereTest()343 void linkedcelltest::GetPointsInsideSphereTest() 344 344 { 345 345 Vector tester; -
src/LinkedCell/unittests/linkedcellUnitTest.hpp
raa6c75 r91f592 25 25 /********************************************** Test classes **************************************/ 26 26 27 class LinkedCellTest : public CppUnit::TestFixture27 class linkedcelltest : public CppUnit::TestFixture 28 28 { 29 CPPUNIT_TEST_SUITE( LinkedCellTest) ;29 CPPUNIT_TEST_SUITE( linkedcelltest) ; 30 30 CPPUNIT_TEST ( CheckBoundsTest ); 31 31 CPPUNIT_TEST ( GetCurrentCellTest );
Note:
See TracChangeset
for help on using the changeset viewer.