| Last change
 on this file since 88bb6b was             bf4b9f, checked in by Frederik Heber <heber@…>, 15 years ago | 
        
          | 
Moved LinearAlgebra from folder src/ into distinct sub-package.
 src/LinearAlgebra folder is now LinearAlgebra/src/LinearAlgebra due to
include consistency.
src/LinearAlgebra/unittests have been moved to LinearAlgebra/unittests.
All Makefile.am's had to be changed due to changed location of library.
renamed libMolecuilderLinearAlgebra to libLinearAlgebra.
CONFIG_AUX_DIR is build-aux 9for molecuilder and LinearAlgebra).
m4 is symlinked from below.
build-aux now contains small README such that it is created automatically.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            926 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* | 
|---|
| 2 | * PlaneUnittest.hpp | 
|---|
| 3 | * | 
|---|
| 4 | *  Created on: Apr 30, 2010 | 
|---|
| 5 | *      Author: crueger | 
|---|
| 6 | */ | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef PLANEUNITTEST_HPP_ | 
|---|
| 9 | #define PLANEUNITTEST_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 "Plane.hpp" | 
|---|
| 20 |  | 
|---|
| 21 | class PlaneUnittest : public CppUnit::TestFixture | 
|---|
| 22 | { | 
|---|
| 23 | CPPUNIT_TEST_SUITE( PlaneUnittest) ; | 
|---|
| 24 | CPPUNIT_TEST ( constructionErrorTest ); | 
|---|
| 25 | CPPUNIT_TEST ( constructionResultTest ); | 
|---|
| 26 | CPPUNIT_TEST ( pointsTest ); | 
|---|
| 27 | CPPUNIT_TEST ( operationsTest ); | 
|---|
| 28 | CPPUNIT_TEST ( mirrorTest ); | 
|---|
| 29 | CPPUNIT_TEST ( LineIntersectionTest ); | 
|---|
| 30 | CPPUNIT_TEST_SUITE_END(); | 
|---|
| 31 |  | 
|---|
| 32 | public: | 
|---|
| 33 | void setUp(); | 
|---|
| 34 | void tearDown(); | 
|---|
| 35 |  | 
|---|
| 36 | void constructionErrorTest(); | 
|---|
| 37 | void constructionResultTest(); | 
|---|
| 38 | void pointsTest(); | 
|---|
| 39 | void operationsTest(); | 
|---|
| 40 | void mirrorTest(); | 
|---|
| 41 | void LineIntersectionTest(); | 
|---|
| 42 |  | 
|---|
| 43 | private: | 
|---|
| 44 | Plane *p1; | 
|---|
| 45 | Plane *p2; | 
|---|
| 46 | Plane *p3; | 
|---|
| 47 | Plane *p4; | 
|---|
| 48 | }; | 
|---|
| 49 |  | 
|---|
| 50 | #endif /* PLANEUNITTEST_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.