Helios++
Helios software for LiDAR simulations
HeliosTests::PlatformPhysicsTest Class Reference

Platform physics test. More...

#include <PlatformPhysicsTest.h>

Inheritance diagram for HeliosTests::PlatformPhysicsTest:
Collaboration diagram for HeliosTests::PlatformPhysicsTest:

Public Member Functions

 PlatformPhysicsTest ()
 Platform physics test constructor.
 
bool run () override
 
bool testRollOnlyRotations ()
 Roll only rotations test. More...
 
bool testPitchOnlyRotations ()
 Pitch only rotations test. More...
 
bool testYawOnlyRotations ()
 Yaw only rotations test. More...
 
bool testRollPitchRotations ()
 Roll and pitch rotations test. More...
 
bool testRollYawRotations ()
 Roll yaw rotations test. More...
 
bool testPitchYawRotations ()
 Pitch yaw rotations test. More...
 
bool testRollPitchYawRotations ()
 Roll, pitch and yaw rotations test. More...
 
- Public Member Functions inherited from HeliosTests::BaseTest
 BaseTest (std::string const &name)
 Base test constructor. More...
 
std::string getName ()
 
void operator() (std::ostream &out=std::cout, bool color=true)
 Another way to call test function. More...
 
void test (std::ostream &out=std::cout, bool color=true)
 Perform the test and output its final status. More...
 

Public Attributes

double eps = 0.0001
 Decimal precision for validation purposes.
 

Additional Inherited Members

- Protected Attributes inherited from HeliosTests::BaseTest
std::string const name
 The name for the test.
 

Detailed Description

Platform physics test.

Author
Alberto M. Esmoris Pena
Version
1.0

Member Function Documentation

◆ run()

bool HeliosTests::PlatformPhysicsTest::run ( )
overridevirtual
See also
BaseTest::run

Implements HeliosTests::BaseTest.

◆ testPitchOnlyRotations()

bool HeliosTests::PlatformPhysicsTest::testPitchOnlyRotations ( )

Pitch only rotations test.

Returns
True if passed, false otherwise

◆ testPitchYawRotations()

bool HeliosTests::PlatformPhysicsTest::testPitchYawRotations ( )

Pitch yaw rotations test.

Returns
True if passed, false otherwise

◆ testRollOnlyRotations()

bool HeliosTests::PlatformPhysicsTest::testRollOnlyRotations ( )

Roll only rotations test.

Returns
True if passed, false otherwise

◆ testRollPitchRotations()

bool HeliosTests::PlatformPhysicsTest::testRollPitchRotations ( )

Roll and pitch rotations test.

Returns
True if passed, false otherwise

◆ testRollPitchYawRotations()

bool HeliosTests::PlatformPhysicsTest::testRollPitchYawRotations ( )

Roll, pitch and yaw rotations test.

Returns
True if passed, false otherwise

◆ testRollYawRotations()

bool HeliosTests::PlatformPhysicsTest::testRollYawRotations ( )

Roll yaw rotations test.

Returns
True if passed, false otherwise

◆ testYawOnlyRotations()

bool HeliosTests::PlatformPhysicsTest::testYawOnlyRotations ( )

Yaw only rotations test.

Returns
True if passed, false otherwise

The documentation for this class was generated from the following file: