source: src/unittests/Makefile.am@ dfe8ef

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
Last change on this file since dfe8ef was dfe8ef, checked in by Frederik Heber <heber@…>, 15 years ago

BUGFIX: CountHydrogenBridgeBonds() was half-broken, CountBondsOfThree() double-counted.

  • CountBondsOfThree() was counting O-H molecules as having a H-O-H and also a O-H-O triple bond because of a missing break.
  • CountHydrogenBridgeBonds() was broken in several places:
    • Checking for Hydrogen on the other oxygen atom is not part of the criteria by Marry, Rotenberg and Turq.
    • HydrogenFlag could have been set by previous atom making next hydrogen also a h-bridge bond.

Found thanks to newly implemented unit test CountBondsUnitTest.

Signed-off-by: Frederik Heber <heber@…>

  • Property mode set to 100644
File size: 4.1 KB
Line 
1INCLUDES = -I$(top_srcdir)/src
2
3AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
4AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
5
6TESTS = \
7 ActOnAllUnitTest \
8 AnalysisBondsUnitTests \
9 AnalysisCorrelationToPointUnitTest \
10 AnalysisCorrelationToSurfaceUnitTest \
11 AnalysisPairCorrelationUnitTest \
12 BondGraphUnitTest \
13 CountBondsUnitTest \
14 GSLMatrixSymmetricUnitTest \
15 GSLMatrixUnitTest \
16 GSLVectorUnitTest \
17 InfoUnitTest \
18 LinearSystemOfEquationsUnitTest \
19 ListOfBondsUnitTest \
20 LogUnitTest \
21 MemoryUsageObserverUnitTest \
22 MemoryAllocatorUnitTest \
23 StackClassUnitTest \
24 TesselationUnitTest \
25 Tesselation_BoundaryTriangleUnitTest \
26 Tesselation_InOutsideUnitTest \
27 VectorUnitTest
28
29check_PROGRAMS = $(TESTS)
30noinst_PROGRAMS = $(TESTS)
31
32ActOnAllUnitTest_SOURCES = ../test/ActOnAllTest.hpp ActOnAllUnitTest.cpp ActOnAllUnitTest.hpp
33ActOnAllUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
34
35AnalysisBondsUnitTests_SOURCES = analysisbondsunittest.cpp analysisbondsunittest.hpp
36AnalysisBondsUnitTests_LDADD = ../libmolecuilder.a ../libgslwrapper.a
37
38AnalysisCorrelationToPointUnitTest_SOURCES = analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
39AnalysisCorrelationToPointUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
40
41AnalysisCorrelationToSurfaceUnitTest_SOURCES = analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
42AnalysisCorrelationToSurfaceUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
43
44AnalysisPairCorrelationUnitTest_SOURCES = analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
45AnalysisPairCorrelationUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
46
47BondGraphUnitTest_SOURCES = bondgraphunittest.cpp bondgraphunittest.hpp
48BondGraphUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
49
50CountBondsUnitTest_SOURCES = CountBondsUnitTest.cpp CountBondsUnitTest.hpp
51CountBondsUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
52
53GSLMatrixSymmetricUnitTest_SOURCES = gslmatrixsymmetricunittest.cpp gslmatrixsymmetricunittest.hpp
54GSLMatrixSymmetricUnitTest_LDADD = ../libgslwrapper.a
55
56GSLMatrixUnitTest_SOURCES = gslmatrixunittest.cpp gslmatrixunittest.hpp
57GSLMatrixUnitTest_LDADD = ../libgslwrapper.a
58
59GSLVectorUnitTest_SOURCES = gslvectorunittest.cpp gslvectorunittest.hpp
60GSLVectorUnitTest_LDADD = ../libgslwrapper.a
61
62InfoUnitTest_SOURCES = infounittest.cpp infounittest.hpp
63InfoUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
64
65LinearSystemOfEquationsUnitTest_SOURCES = linearsystemofequationsunittest.cpp linearsystemofequationsunittest.hpp
66LinearSystemOfEquationsUnitTest_LDADD = ../libgslwrapper.a ../libmolecuilder.a
67
68ListOfBondsUnitTest_SOURCES = listofbondsunittest.cpp listofbondsunittest.hpp
69ListOfBondsUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
70
71LogUnitTest_SOURCES = logunittest.cpp logunittest.hpp
72LogUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
73
74MemoryAllocatorUnitTest_SOURCES = memoryallocatorunittest.cpp memoryallocatorunittest.hpp
75MemoryAllocatorUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
76
77MemoryUsageObserverUnitTest_SOURCES = memoryusageobserverunittest.cpp memoryusageobserverunittest.hpp
78MemoryUsageObserverUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
79
80StackClassUnitTest_SOURCES = stackclassunittest.cpp stackclassunittest.hpp
81StackClassUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
82
83TesselationUnitTest_SOURCES = tesselationunittest.cpp tesselationunittest.hpp
84TesselationUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
85
86Tesselation_BoundaryTriangleUnitTest_SOURCES = tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
87Tesselation_BoundaryTriangleUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
88
89Tesselation_InOutsideUnitTest_SOURCES = tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
90Tesselation_InOutsideUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
91
92VectorUnitTest_SOURCES = vectorunittest.cpp vectorunittest.hpp
93VectorUnitTest_LDADD = ../libmolecuilder.a ../libgslwrapper.a
94
95
96#AUTOMAKE_OPTIONS = parallel-tests
97
Note: See TracBrowser for help on using the repository browser.