AutomationFragmentation_failures
        Candidate_v1.6.1
        Candidate_v1.7.0
        ChemicalSpaceEvaluator
        Enhanced_StructuralOptimization_continued
        Exclude_Hydrogens_annealWithBondGraph
        ForceAnnealing_with_BondGraph
        ForceAnnealing_with_BondGraph_contraction-expansion
        Gui_displays_atomic_force_velocity
        PythonUI_with_named_parameters
        StoppableMakroAction
        TremoloParser_IncreasedPrecision
        stable
      
      
        
          | Last change
 on this file since 985d1f was             4ecb2d, checked in by Frederik Heber <heber@…>, 9 years ago | 
        
          | 
Moved LinearAlgebra sub-package into ThirdParty folder.
 needed to adapt location of libLinearAlgebra.la in all Makefile.am's.
relinked m4 subfolder, relinked am_doxygen_include.am. Both point to those
present in molecuilder parent folder.
adapted configure.ac's:
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            1.6 KB | 
      
      
| Line |  | 
|---|
| 1 | /* | 
|---|
| 2 | * VectorUnitTest.hpp | 
|---|
| 3 | * | 
|---|
| 4 | *  Created on: Aug 17, 2009 | 
|---|
| 5 | *      Author: heber | 
|---|
| 6 | */ | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef VECTORUNITTEST_HPP_ | 
|---|
| 9 | #define VECTORUNITTEST_HPP_ | 
|---|
| 10 |  | 
|---|
| 11 | // include config.h | 
|---|
| 12 | #ifdef HAVE_CONFIG_H | 
|---|
| 13 | #include <config.h> | 
|---|
| 14 | #endif | 
|---|
| 15 |  | 
|---|
| 16 |  | 
|---|
| 17 | #include <cppunit/extensions/HelperMacros.h> | 
|---|
| 18 |  | 
|---|
| 19 | #include "Vector.hpp" | 
|---|
| 20 |  | 
|---|
| 21 | /********************************************** Test classes **************************************/ | 
|---|
| 22 |  | 
|---|
| 23 | class VectorTest : public CppUnit::TestFixture | 
|---|
| 24 | { | 
|---|
| 25 | CPPUNIT_TEST_SUITE( VectorTest) ; | 
|---|
| 26 | CPPUNIT_TEST ( AssignmentTest ); | 
|---|
| 27 | CPPUNIT_TEST ( UnityTest ); | 
|---|
| 28 | CPPUNIT_TEST ( SimpleAlgebraTest ); | 
|---|
| 29 | CPPUNIT_TEST ( OperatorAlgebraTest ); | 
|---|
| 30 | CPPUNIT_TEST ( EuclidianScalarProductTest ); | 
|---|
| 31 | CPPUNIT_TEST ( EuclidianNormTest ); | 
|---|
| 32 | CPPUNIT_TEST ( EuclidianDistancesTest ); | 
|---|
| 33 | CPPUNIT_TEST ( EuclidianAnglesTest ); | 
|---|
| 34 | CPPUNIT_TEST ( ProjectionTest ); | 
|---|
| 35 | CPPUNIT_TEST ( NormalsTest ); | 
|---|
| 36 | CPPUNIT_TEST_SUITE_END(); | 
|---|
| 37 |  | 
|---|
| 38 | public: | 
|---|
| 39 | void setUp(); | 
|---|
| 40 | void tearDown(); | 
|---|
| 41 |  | 
|---|
| 42 | void AssignmentTest(); | 
|---|
| 43 | void UnityTest(); | 
|---|
| 44 | void OperatorAlgebraTest(); | 
|---|
| 45 | void SimpleAlgebraTest(); | 
|---|
| 46 | void EuclidianScalarProductTest(); | 
|---|
| 47 | void EuclidianNormTest(); | 
|---|
| 48 | void EuclidianDistancesTest(); | 
|---|
| 49 | void EuclidianAnglesTest(); | 
|---|
| 50 | void ProjectionTest(); | 
|---|
| 51 | void NormalsTest(); | 
|---|
| 52 | void LineIntersectionTest(); | 
|---|
| 53 | void VectorRotationTest(); | 
|---|
| 54 |  | 
|---|
| 55 | private: | 
|---|
| 56 | // vector to execute tests on, may be modified during run | 
|---|
| 57 | Vector fixture; | 
|---|
| 58 | // never modify these during run, other tests might rely on them | 
|---|
| 59 | Vector zero; | 
|---|
| 60 | Vector unit; | 
|---|
| 61 | Vector otherunit; | 
|---|
| 62 | Vector notunit; | 
|---|
| 63 | Vector two; | 
|---|
| 64 | Vector three; | 
|---|
| 65 | }; | 
|---|
| 66 |  | 
|---|
| 67 |  | 
|---|
| 68 | #endif /* VECTORUNITTEST_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.