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

Fluxionum test. More...

#include <FluxionumTest.h>

Inheritance diagram for HeliosTests::FluxionumTest:
Collaboration diagram for HeliosTests::FluxionumTest:

Public Member Functions

 FluxionumTest (std::string testDir)
 Fluxionum test constructor.
 
bool run () override
 
bool testUnivariateNewtonRaphsonMinimization ()
 Test univariate Newton-Raphson minimization. More...
 
bool testDesignMatrixBuilding ()
 Test the building of different design matrices. More...
 
bool testDesignMatrixMethods ()
 Test the methods of DesignMatrix. More...
 
bool testDiffDesignMatrix ()
 Test the generation of differential design matrices. More...
 
bool testDesignFunctions ()
 Test functions from design matrices. 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.
 
std::string testDir
 The directory where test files are located.
 

Additional Inherited Members

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

Detailed Description

Fluxionum test.

Author
Alberto M. Esmoris Pena @verison 1.0

Member Function Documentation

◆ run()

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

Implements HeliosTests::BaseTest.

◆ testDesignFunctions()

bool HeliosTests::FluxionumTest::testDesignFunctions ( )

Test functions from design matrices.

Returns
True if passed, false otherwise

◆ testDesignMatrixBuilding()

bool HeliosTests::FluxionumTest::testDesignMatrixBuilding ( )

Test the building of different design matrices.

Returns
True if passed, false otherwise

◆ testDesignMatrixMethods()

bool HeliosTests::FluxionumTest::testDesignMatrixMethods ( )

Test the methods of DesignMatrix.

Returns
True if passed, false otherwise

◆ testDiffDesignMatrix()

bool HeliosTests::FluxionumTest::testDiffDesignMatrix ( )

Test the generation of differential design matrices.

Returns
True if passed, false otherwise

◆ testUnivariateNewtonRaphsonMinimization()

bool HeliosTests::FluxionumTest::testUnivariateNewtonRaphsonMinimization ( )

Test univariate Newton-Raphson minimization.

Returns
True if passed, false otherwise

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