xmsextractor  1.0
XmUGrid2dPolylineDataExtractor.t.h
Go to the documentation of this file.
1 #pragma once
2 //------------------------------------------------------------------------------
7 //------------------------------------------------------------------------------
8 
9 #ifdef CXX_TEST
10 
11 // 3. Standard Library Headers
12 
13 // 4. External Library Headers
14 #include <cxxtest/TestSuite.h>
15 
16 // 5. Shared Headers
17 #include <xmscore/misc/base_macros.h>
18 #include <xmscore/misc/boost_defines.h>
19 #include <xmscore/points/pt.h>
20 
21 // 6. Non-shared Headers
22 
24 class XmUGrid2dPolylineDataExtractorUnitTests : public CxxTest::TestSuite
25 {
26 public:
27  void testOneCellOneSegment();
28  void testSegmentAllInCell();
29  void testSegmentAlongEdge();
30  void testSegmentAllOutside();
31  void testSegmentOutToTouch();
32  void testSegmentTouchToOut();
34 
37 
43 
45 
46  void testCellScalars();
47 
48  void testTransientTutorial();
49 }; // XmUGrid2dPolylineDataExtractorUnitTests
50 
51 #endif
void testCellScalars()
Test extractor with cell scalars.
void testOneCellOneSegment()
Test extractor with point scalars only.
void testSegmentAcrossCellIntoSecond()
Test extractor with single segment crossing first cell into second.
void testTwoSegmentsAcrossOneCell()
Test extractor with two segments going across a single cell.
void testTwoSegmentsJoinOnBoundary()
Test extractor with two segments joining on two cell boundary.
void testSegmentAllInCell()
Test extractor with single segment all inside of cell.
void testSegmentAlongEdge()
Test extractor with single segment along an edge.
void testTransientTutorial()
Test XmUGrid2dPolylineDataExtractor for tutorial with transient data.
void testSegmentAllOutside()
Test extractor with single segment all outside of cell.
void testTwoSegmentsFirstExiting()
Test extractor with two segments: first in to outside, second outside.
void testSegmentAcrossSplitCells()
Test extractor with single segment going across unconnected cells.
void testTwoSegmentsAllOutside()
Test extractor with two segments all outside of cell.
void testSegmentTouchToOut()
Test extractor with single segment with first point touching edge.
void testTwoSegmentsJoinInCell()
Test extractor with two segments joining in a cell.
void testThreeSegmentsCrossOnBoundary()
Test extractor with three segments two crossing at boundary.
void testSegmentCrossCellPoint()
Test extractor with single segment touching cell point.
Class to to test XmUGrid2dPolylineDataExtractor.
void testSegmentOutToTouch()
Test extractor with single segment with endpoint touching cell.