xmsgeom  1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
TrBreaklineAdder.t.h
Go to the documentation of this file.
1 #pragma once
2 #ifdef CXX_TEST
3 //------------------------------------------------------------------------------
9 //------------------------------------------------------------------------------
10 
11 //----- Included files ---------------------------------------------------------
12 // 3. Standard Library Headers
13 
14 // 4. External Library Headers
15 #include <cxxtest/TestSuite.h>
16 
17 // 5. Shared Headers
18 
19 // 6. Non-shared Headers
20 
21 //----- Forward declarations ---------------------------------------------------
22 
23 //----- Namespace declaration --------------------------------------------------
24 // namespace xms {
25 
26 //----- Constants / Enumerations -----------------------------------------------
27 
28 //----- Structs / Classes ------------------------------------------------------
29 class TrBreaklineAdderUnitTests : public CxxTest::TestSuite
30 {
31 public:
32  void test1();
33  void test2();
34  void testCrossingBoundary();
35 };
36 //----- Function prototypes ----------------------------------------------------
37 
38 //} // namespace xms
39 #endif
void test2()
Test a more complex case involving two inner polygons and removal of outer triangles. This doesn't remove the triangles - that would be the next step.
void test1()
Test a simple case involving a swap and removal of outer triangle.
Tests for TrBreaklineAdder.
void testCrossingBoundary()
Test a case involving crossing a hole and the outer boundary.