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

High performance computing components test. More...

#include <HPCTest.h>

Inheritance diagram for HeliosTests::HPCTest:
Collaboration diagram for HeliosTests::HPCTest:

Public Member Functions

 HPCTest ()
 HPC test constructor.
 
bool run () override
 Test behavior. More...
 
bool SM_testParallelMergeSort ()
 Test shared memory based parallel merge sort implementation. 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...
 

Additional Inherited Members

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

Detailed Description

High performance computing components test.

Author
Alberto M. Esmoris Pena @verison 1.0

Member Function Documentation

◆ run()

bool HeliosTests::HPCTest::run ( )
overridevirtual

Test behavior.

At the end it must report test status.

Only tests implementing a run method will be runnable

Returns
If test finished with successful status true must be returned. Otherwise false will be returned.

Implements HeliosTests::BaseTest.

◆ SM_testParallelMergeSort()

bool HeliosTests::HPCTest::SM_testParallelMergeSort ( )

Test shared memory based parallel merge sort implementation.

Returns
True if passed, false otherwise

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