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

Energy models test. More...

#include <EnergyModelsTest.h>

Inheritance diagram for HeliosTests::EnergyModelsTest:
Collaboration diagram for HeliosTests::EnergyModelsTest:

Public Member Functions

 EnergyModelsTest ()
 Energy models test constructor.
 
bool run () override
 
bool testEmittedReceivedPower ()
 Test emitted received power. 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 const eps = 0.00001
 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

Energy models test.

Author
Alberto M. Esmoris Pena
Version
1.0

Member Function Documentation

◆ run()

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

Implements HeliosTests::BaseTest.

◆ testEmittedReceivedPower()

bool HeliosTests::EnergyModelsTest::testEmittedReceivedPower ( )

Test emitted received power.

Returns
True if passed, false otherwise

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