source: src/Shapes/unittests/ShapeOpsUnitTest.hpp

Candidate_v1.6.1
Last change on this file was 13202c, checked in by Frederik Heber <heber@…>, 12 years ago

FIX: made Cuboid.isOnSurface() robust enough for transformations

  • Property mode set to 100644
File size: 874 bytes
RevLine 
[84721b]1/*
2 * ShapeOpsUnitTest.hpp
3 *
4 * Created on: Jun 18, 2010
5 * Author: crueger
6 */
7
8#ifndef SHAPEOPSUNITTEST_HPP_
9#define SHAPEOPSUNITTEST_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
19class ShapeOpsTest : public CppUnit::TestFixture
20{
21 CPPUNIT_TEST_SUITE( ShapeOpsTest) ;
22 CPPUNIT_TEST ( resizeTest );
23 CPPUNIT_TEST ( translateTest );
24 CPPUNIT_TEST ( stretchTest );
25 CPPUNIT_TEST ( transformTest );
[6acc2f3]26 CPPUNIT_TEST ( getCenterTest );
27 CPPUNIT_TEST ( getRadiusTest );
[13202c]28 CPPUNIT_TEST ( PointsOnSurfaceTest );
[84721b]29 CPPUNIT_TEST_SUITE_END();
30
31public:
32 void setUp();
33 void tearDown();
34
35 void resizeTest();
36 void translateTest();
37 void stretchTest();
38 void transformTest();
[6acc2f3]39 void getCenterTest();
40 void getRadiusTest();
[13202c]41 void PointsOnSurfaceTest();
[84721b]42};
43
44#endif /* SHAPEOPSUNITTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.