source: LinearAlgebra/src/unittests/PlaneUnitTest.hpp@ 7305d5

Last change on this file since 7305d5 was bf4b9f, checked in by Frederik Heber <heber@…>, 14 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
RevLine 
[fa5a6a]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
[56f73b]11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16
[fa5a6a]17#include <cppunit/extensions/HelperMacros.h>
18
[bf4b9f]19#include "Plane.hpp"
[fa5a6a]20
21class 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 );
[ccf826]28 CPPUNIT_TEST ( mirrorTest );
[27ac00]29 CPPUNIT_TEST ( LineIntersectionTest );
[fa5a6a]30 CPPUNIT_TEST_SUITE_END();
31
32public:
33 void setUp();
34 void tearDown();
35
36 void constructionErrorTest();
37 void constructionResultTest();
38 void pointsTest();
39 void operationsTest();
[ccf826]40 void mirrorTest();
[27ac00]41 void LineIntersectionTest();
[fa5a6a]42
43private:
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.