xmsgrid  1.0
XmUGrid.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
19 #include <xmscore/points/pt.h>
20 
21 // 6. Non-shared Headers
22 
24 namespace xms
25 {
26 class XmUGrid;
27 }
28 
30 class XmUGridUnitTests : public CxxTest::TestSuite
31 {
32 public:
33  void testOperators();
34  void testUGridStreams();
35  void testGetSetPoint();
36  void testGetCellCellstream();
37  void testGetCellType();
38  void testGetCellDimension();
39  void testGetExtents();
40  void testGetCellEdgeCount();
45  void testGetCellPoints();
46  void testGetCellEdge();
50  void testEdgeAdjacentCells();
57  void testPointFunctions();
58  void testCellFunctions();
61  void testCellEdges();
67 }; // XmUGridUnitTests
68 
69 #endif
void testUGridStreams()
[snip_test_UGrid_Streams]
Definition: XmUGrid.cpp:4041
void testCellEdges()
Test various cell functions.
Definition: XmUGrid.cpp:5414
void testGetPointAdjacentCellsSimple()
Test getting the cells attached to points.
Definition: XmUGrid.cpp:4371
void testGetCellPlanViewPolygonMultiSideFace()
[snip_test_GetCellPlanViewPolygon]
Definition: XmUGrid.cpp:5170
void testGetPointAdjacentPoints()
[snip_test_GetCell3dFaceAdjacentCell]
Definition: XmUGrid.cpp:5074
void testGetCell3dFaceOrientationHexahedrons()
[snip_test_Cell3dFaceFunctions]
Definition: XmUGrid.cpp:5531
void testGetPointAdjacentCells()
Test getting cells adjacent to a point.
Definition: XmUGrid.cpp:4411
void testGetCellType()
Test getting number of points, cells, and cell type.
Definition: XmUGrid.cpp:4179
void testGetCellPoints()
Test getting a vector of point indices for a cell.
Definition: XmUGrid.cpp:4486
Tests XmUGrids.
Definition: XmUGrid.t.h:30
void testGetCellAdjacentCells()
[snip_test_GetCellAdjacentCells]
Definition: XmUGrid.cpp:4718
void testGetSetPoint()
[snip_test_UGrid_Streams]
Definition: XmUGrid.cpp:4099
void testCellstreamFunctions()
Test various cell functions.
Definition: XmUGrid.cpp:5353
void testGetCell3dFacePoints()
Test retrieving Cell Face.
Definition: XmUGrid.cpp:4881
void testGetCellEdge()
Test iterating through the edges of cells.
Definition: XmUGrid.cpp:4541
void testCellFunctions()
[snip_test_PointFunctions]
Definition: XmUGrid.cpp:5310
void testCell3dFaceFunctions()
Test various get face functions.
Definition: XmUGrid.cpp:5430
void testGetExtents()
Test getting the extents of a UGrid.
Definition: XmUGrid.cpp:4253
void testOperators()
Test constructors and assignment operator.
Definition: XmUGrid.cpp:4018
void testGetCellCellstream()
Test Getting a cell stream.
Definition: XmUGrid.cpp:4139
void testGetCell3dFaceAdjacentCell()
[snip_test_GetCell3dFaceAdjacentCell]
Definition: XmUGrid.cpp:4976
void testCell3dFunctionCaching()
Test caching to speed up a few 3D cell getters.
Definition: XmUGrid.cpp:5604
XMS Namespace.
Definition: geoms.cpp:34
void testGetCell3dFaceCount()
[snip_test_GetNumberOfCellFaces]
Definition: XmUGrid.cpp:4318
void testEdgeAdjacentCells()
Test retrieving Adjacent Cell.
Definition: XmUGrid.cpp:4849
void testGetCellEdgeAdjacentCells()
[snip_test_GetCellAdjacentCells]
Definition: XmUGrid.cpp:4798
void testGetCellDimension()
Test getting dimension of single cells and all cells.
Definition: XmUGrid.cpp:4211
void testGetCell3dFaceOrientationConcaveCell()
Test face orientation for concave cell where a triangle from the first two points in the top face to ...
Definition: XmUGrid.cpp:5553
void testPointFunctions()
[snip_test_PointFunctions]
Definition: XmUGrid.cpp:5254
void testLargeUGridLinkSpeed()
Tests creating a large UGrid and checks the time spent.
Definition: XmUGrid.cpp:5668
void testCellEdgeAdjacentCellFunctions()
Test all get adjacent cell functions.
Definition: XmUGrid.cpp:5375
void testGetPointsAdjacentCells()
Test retrieving common cells from points.
Definition: XmUGrid.cpp:4653
void testGetCell3dFacePointCount()
[snip_test_GetNumberOfCellFaces]
Definition: XmUGrid.cpp:4349
void testGetCellEdgeCount()
Test getting edges of single cells.
Definition: XmUGrid.cpp:4286
void testGetCellPlanViewPolygon()
[snip_test_GetPointAdjacentPoints]
Definition: XmUGrid.cpp:5112
void testIsCellValidWithPointChange()
Test validating a cell for a changed point.
Definition: XmUGrid.cpp:5215