xmsgrid  1.0
TrBreaklineAdder.t.h
Go to the documentation of this file.
1 #pragma once
2 #ifdef CXX_TEST
3 //------------------------------------------------------------------------------
8 //------------------------------------------------------------------------------
9 
10 //----- Included files ---------------------------------------------------------
11 // 3. Standard Library Headers
12 
13 // 4. External Library Headers
14 #include <cxxtest/TestSuite.h>
15 
16 // 5. Shared Headers
17 
18 // 6. Non-shared Headers
19 
20 //----- Forward declarations ---------------------------------------------------
21 
22 //----- Namespace declaration --------------------------------------------------
23 // namespace xms {
24 
25 //----- Constants / Enumerations -----------------------------------------------
26 
27 //----- Structs / Classes ------------------------------------------------------
28 class TrBreaklineAdderUnitTests : public CxxTest::TestSuite
29 {
30 public:
31  void test1();
32  void test2();
33  void testCrossingBoundary();
34 };
35 //----- Function prototypes ----------------------------------------------------
36 
37 //} // namespace xms
38 #endif
void test2()
Test a more complex case involving two inner polygons and removal of outer triangles. This doesn&#39;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.