C++ mpi module for stochmagnet_main Package
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
EXPR_Test Class Reference

This class is a test class for math/expr module. More...

#include <EXPR_Test.h>

Inheritance diagram for EXPR_Test:
Inheritance graph
[legend]
Collaboration diagram for EXPR_Test:
Collaboration graph
[legend]

Public Member Functions

 EXPR_Test (void)
 create
 
virtual ~EXPR_Test (void)
 destroy
 
- Public Member Functions inherited from CORE_Test
 CORE_Test (void)
 create
 
virtual ~CORE_Test (void)
 destroy
 
virtual tMemSize getMemorySize () const override
 return the memory size of the class More...
 
virtual tBoolean execute (const CORE_Run &runner, const CORE_OptionsList &options) const
 execute the tests More...
 
void setName (const tString &name)
 set the test name More...
 
const tString & getName () const
 get the test name More...
 
virtual tBoolean caseTests (const CORE_Run &runner, const CORE_OptionsList &options) const
 execute the case tests More...
 
- Public Member Functions inherited from CORE_Object
template<class T >
std::shared_ptr< T > getSharedPointer ()
 return the shared pointer for this More...
 
template<class T >
std::shared_ptr< const T > getConstSharedPointer () const
 return a const shared pointer for this More...
 
virtual tMemSize getContentsMemorySize () const
 return nthe memory size of the included associations More...
 
template<class T >
tBoolean isInstanceOf () const
 test if the clas T is an instance of this class More...
 
tString getClassName () const
 return the name of the class More...
 
tString getPointerString () const
 retrun the pointer of the class as a string More...
 
tString getIdentityString () const
 retrun the string identification of the class More...
 
virtual tString toString () const
 return the string representation of the object node More...
 

Static Public Member Functions

static CORE_UniquePointer< EXPR_TestNew ()
 create a test class More...
 
- Static Public Member Functions inherited from CORE_Test
static CORE_UniquePointer< CORE_TestNew ()
 create a test class More...
 
- Static Public Member Functions inherited from CORE_Object
static tBoolean EnableMemoryStack (const tBoolean &isMemoryChecked)
 enable the memory stack More...
 
static void EnableMemoryStack ()
 enable the memory stack
 
static void DisableMemoryStack ()
 disable the memory stack
 
static tBoolean IsMemoryStackEnabled ()
 return trur if the memory stack is enabled
 
static tString MemoryStackToString ()
 get the memory stack in string More...
 
static tIndex GetRegisteredClassesNumber ()
 get the memory stack in string More...
 

Protected Member Functions

virtual void getSearchingPaths (std::vector< tString > &vpaths) const override
 get the test path locations More...
 
virtual tBoolean primaryTests (const CORE_Run &runner, const CORE_OptionsList &options) const override
 execute the tests More...
 
virtual tBoolean elementaryTests (const CORE_Run &runner, const CORE_OptionsList &options) const override
 execute the tests More...
 
- Protected Member Functions inherited from CORE_Test
tString getSearchingPathsToString () const
 get the test path locations into string More...
 
void getSearchingPaths (const tString &packageName, const tUSInt &nLevels, const std::vector< tString > &localPaths, std::vector< tString > &vpaths) const
 get the test path locations More...
 
tString searchPath (const tString &f) const
 retun the path where the file f is withing the searching paths list More...
 
tBoolean testCase (const CORE_Run &runner, const tString &name) const
 execute the test case More...
 
virtual tBoolean compareResults (const CORE_OptionsList &options, const tString &resultFile, const tString &referenceFile, const tReal &eps) const
 make the difference between the two files More...
 
tBoolean testArray (const CORE_Run &runner, const CORE_OptionsList &options) const
 test the numeric array More...
 
template<typename T , class I >
tBoolean uniformRandomTest (CORE_Array< T, I > &A, CORE_Array< T, I > &B) const
 randomizer test More...
 
tBoolean testField (const CORE_Run &runner, const CORE_OptionsList &options) const
 test the numeric field More...
 
template<typename T , class I >
requires functions_type::isArithmeticType< T > tBoolean testArray (CORE_Array< T, I > &A) const
 test array class More...
 
template<typename T , typename K , K D, class S , class I >
tBoolean testField (CORE_Field< T, K, D, S, I > &A) const
 test field class More...
 
- Protected Member Functions inherited from CORE_Object
 CORE_Object ()
 build an instance of the object
 
virtual ~CORE_Object ()
 destroy the instance of object std

 

Additional Inherited Members

- Static Protected Member Functions inherited from CORE_Test
template<typename T , typename Q >
requires functions_type::isRealType< T > static functions_type::isRealType< Q > tBoolean Equals (const T &a, const Q &b)
 retrun true if the two values are equals More...
 
template<typename T , typename Q >
requires functions_type::isIntegerType< T > &&static functions_type::isIntegerType< Q > tBoolean Equals (const T &a, const Q &b)
 retrun true if the two values are equals More...
 

Detailed Description

This class is a test class for math/expr module.

It makes :

Author
Stéphane Despréaux
Version
1.0

Member Function Documentation

◆ elementaryTests()

tBoolean EXPR_Test::elementaryTests ( const CORE_Run runner,
const CORE_OptionsList options 
) const
overrideprotectedvirtual

execute the tests

Parameters
[in]runnerthe runner of the tests
[in]optionsthe options of the program

Reimplemented from CORE_Test.

◆ getSearchingPaths()

virtual void EXPR_Test::getSearchingPaths ( std::vector< tString > &  vpaths) const
inlineoverrideprotectedvirtual

get the test path locations

Parameters
[out]vpaths: the return path location s

Reimplemented from CORE_Test.

◆ New()

static CORE_UniquePointer<EXPR_Test> EXPR_Test::New ( )
inlinestatic

create a test class

Returns
a new instance of the class

◆ primaryTests()

tBoolean EXPR_Test::primaryTests ( const CORE_Run runner,
const CORE_OptionsList options 
) const
overrideprotectedvirtual

execute the tests

Parameters
[in]runnerthe runner of the tests
[in]optionsthe options of the program

Reimplemented from CORE_Test.


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