xmsgridtrace  1.0
XmGridTrace.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 
18 // 6. Non-shared Headers
19 
21 class XmGridTraceUnitTests : public CxxTest::TestSuite
22 {
23 public:
24  void testBasicTracePoint();
25  void testMaxChangeDistance();
28  void testMaxTracingTime();
30  void testStartOutOfCell();
31  void testDotProduct();
32  void testBeyondTimestep();
33  void testBeforeTimestep();
34  void testVectorMultiplier();
35  void testMultiCell();
36  void testMaxChangeVelocity();
37  void testUniqueTimeSteps();
38  void testInactiveCell();
39  void testStartInactiveCell();
40  void testTutorial();
41 
42 }; // XmGridTraceUnitTests
43 
44 #endif
void testStrongDirectionChange()
test behavior when having large changes in direction
void testMultiCell()
test behavior of multiple cells
void testTutorial()
2nd cell is inactive in the 2nd time step. // Thus it does not pull as hard. Also once the point reac...
void testMaxTracingTime()
test setting max tracing time
void testUniqueTimeSteps()
Test behavior for unique timesteps.
void testInactiveCell()
2nd cell is inactive in the 2nd time step. // Thus it does not pull as hard. Also once the point reac...
void testVectorMultiplier()
test behavior of the vector multiplier
void testStartInactiveCell()
The point starts in an inactive cell, and doesnt move.
void testMaxTracingDistance()
test setting the max tracing distance
void testBeyondTimestep()
test behavior when starting beyond the second time step
Tests functionality of XmGridTrace.
Definition: XmGridTrace.t.h:21
void testBasicTracePoint()
test the basic functionality of trace point
void testDotProduct()
test the angle function
void testStartOutOfCell()
test behavior when starting point is out of the cell
void testMaxChangeVelocity()
Testing what happens when the maximum change in velocity is low / It reaches a point of high accelera...
void testBeforeTimestep()
test the behavior when starting before the first timestep
void testSmallScalarsTracePoint()
test with small scalars to create more points
void testMaxChangeDistance()
Speed is limited to .25. It doesnt reach the edge because it goes below min delta time...