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

Functional platform test. More...

#include <FunctionalPlatformTest.h>

Inheritance diagram for HeliosTests::FunctionalPlatformTest:
Collaboration diagram for HeliosTests::FunctionalPlatformTest:

Public Member Functions

 FunctionalPlatformTest ()
 Functional platform test constructor.
 
bool run () override
 
bool testInterpolatedMovingPlatform ()
 Test the InterpolatingMovingPlatform. More...
 
- Public Member Functions inherited from HeliosTests::BaseTest
 BaseTest (std::string const &name)
 Base test constructor. More...
 
std::string getName ()
 Obtain the test name. More...
 
void operator() (std::ostream &out=std::cout, bool color=true)
 Another way to call test function. More...
 
bool 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

Functional platform test.

Author
Alberto M. Esmoris Pena
Version
1.0

This test checks that function based platforms, such as the InterpolatedMovingPlatform, work properly

See also
InterpolatedMovingPlatform

Member Function Documentation

◆ run()

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

Implements HeliosTests::BaseTest.

◆ testInterpolatedMovingPlatform()

bool HeliosTests::FunctionalPlatformTest::testInterpolatedMovingPlatform ( )

Test the InterpolatingMovingPlatform.

Returns
True if it worked as expected, false otherwise

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