xmsgeom  1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
TrTin.t.h
Go to the documentation of this file.
1 #pragma once
2 #ifdef CXX_TEST
3 //------------------------------------------------------------------------------
9 //------------------------------------------------------------------------------
10 
11 // 3. Standard Library Headers
12 
13 // 4. External Library Headers
14 #include <boost/shared_ptr.hpp>
15 
16 // 5. Shared Headers
17 #include <cxxtest/TestSuite.h>
18 
19 // 6. Non-shared Headers
20 
21 //----- Namespace declaration --------------------------------------------------
22 
23 // namespace xms {
24 
25 //----- Forward declarations ---------------------------------------------------
26 namespace xms
27 {
28 class TrTin;
29 }
30 //----- Classes ----------------------------------------------------------------
31 
33 class TrTinUnitTests : public CxxTest::TestSuite
34 {
35 public:
36  void test1();
38  void testSwap();
39  // void testFirstBoundaryPoint();
40  void testBoundaries();
41  void testDeleteTriangles();
42  void testDeletePoints();
43 };
44 
45 //----- Global functions -------------------------------------------------------
46 
47 boost::shared_ptr<xms::TrTin> trBuildTestTin();
48 boost::shared_ptr<xms::TrTin> trBuildTestTin2();
49 boost::shared_ptr<xms::TrTin> trBuildTestTin6();
50 boost::shared_ptr<xms::TrTin> trBuildTestTin7();
51 boost::shared_ptr<xms::TrTin> trBuildTestTin8();
52 
53 //} // namespace xms
54 #endif
boost::shared_ptr< xms::TrTin > trBuildTestTin2()
Builds a simple TIN for testing.
Definition: TrTin.cpp:1387
boost::shared_ptr< xms::TrTin > trBuildTestTin8()
Builds a simple TIN with a hole in the middle and a concavity.
Definition: TrTin.cpp:1499
void testBoundaries()
Tests TrTin::GetBoundaryPoints and TrTin::GetBoundaryPolys.
Definition: TrTin.cpp:1914
boost::shared_ptr< xms::TrTin > trBuildTestTin6()
Builds a simple TIN for testing.
Definition: TrTin.cpp:1421
boost::shared_ptr< xms::TrTin > trBuildTestTin()
Builds a simple TIN with a hole in the middle.
Definition: TrTin.cpp:1351
boost::shared_ptr< xms::TrTin > trBuildTestTin7()
Builds a simple TIN for testing.
Definition: TrTin.cpp:1465
Tests for TrTin.
Definition: TrTin.t.h:33
void testSwap()
Definition: TrTin.cpp:1805
void testDeletePoints()
Tests TrTin::DeletePoints.
Definition: TrTin.cpp:2005
void test1()
Tests a bunch of the TrTin methods.
Definition: TrTin.cpp:1535
void testOptimizeTriangulation()
Definition: TrTin.cpp:1752
void testDeleteTriangles()
Tests TrTin::DeleteTriangles.
Definition: TrTin.cpp:1943