114 const std::map<tString,tString>& options)
const;
137 const std::map<tString,tString>& options)
const;
145 const std::map<tString,tString>& options)
const;
153 const std::map<tString,tString>& options)
const;
181 const std::vector<tString>& localPaths,
182 std::vector<tString>& vpaths)
const;
224 template<
typename T,
typename Q>
225 requires core_functions::isRealType<T> || core_functions::isRealType<Q>
227 return (fabs(b-a)<std::numeric_limits<tFloat>::epsilon());
229 template<
typename T,
typename Q>
230 requires core_functions::isIntegerType<T> && core_functions::isIntegerType<Q>
244 const std::map<tString,tString>& options)
const;
252 const std::map<tString,tString>& options)
const;
260 const std::map<tString,tString>& options)
const;
270 const std::map<tString,tString>& options);
277 const std::map<tString,tString>& options)
const;
283 const std::map<tString,tString>& options)
const;
292 const std::map<tString,tString>& options)
const;
300 template<
typename T,
class I>
308 const std::map<tString,tString>& options)
const;
312 template<
typename Q,
class I> requires core_functions::isArithmeticType<Q>
317 template<
typename Q,
typename K,K D,
class S,
class I>
this class describes an array of values T of dynamical size with algebrical operators and I is an imp...
Definition: CORE_Array.h:89
this class describes an field. A field is composed by
Definition: CORE_Field.h:40
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:94
abstract base class for most classes.
Definition: CORE_Object.h:48
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:259
This class is an outpput results generator for stoch magnet program.
Definition: CORE_Run.h:36
This class is a Test class for Stoch Microm package.
Definition: CORE_Test.h:44
requires core_functions::isArithmeticType< Q > tBoolean testArray(CORE_Array< Q, I > &A) const
virtual tBoolean compareResults(const std::map< tString, tString > &options, const tString &resultFile, const tString &referenceFile, const tReal &eps) const
make the difference between the two files
Definition: CORE_Test.cpp:340
tBoolean uniformRandomTest(CORE_Array< T, I > &A, CORE_Array< T, I > &B) const
randomizer test
Definition: CORE_Test.hpp:270
tBoolean testField(CORE_Field< Q, K, D, S, I > &A) const
tBoolean testCase(const CORE_Run &runner, const tString &name) const
execute the test case
Definition: CORE_Test.cpp:249
tBoolean testLoops(const CORE_Run &runner, const std::map< tString, tString > &options) const
test the string array
Definition: CORE_Test.cpp:792
tBoolean testChrono(const CORE_Run &runner, const std::map< tString, tString > &options) const
test Chrono class
Definition: CORE_Test.cpp:648
void setName(const tString &name)
set the test name
Definition: CORE_Test.h:121
static const tFlag ALL_TESTS
Definition: CORE_Test.h:53
static const tFlag PRIMARY_TESTS
Definition: CORE_Test.h:54
tString getSearchingPathsToString() const
get the test path locations into string
Definition: CORE_Test.cpp:90
requires core_functions::isIntegerType< T > &&static core_functions::isIntegerType< Q > tBoolean Equals(const T &a, const Q &b)
Definition: CORE_Test.h:231
tBoolean testArray(const CORE_Run &runner, const std::map< tString, tString > &options) const
test the numeric array
Definition: CORE_Test.cpp:753
virtual ~CORE_Test(void)
destroy
Definition: CORE_Test.cpp:26
virtual tBoolean elementaryTests(const CORE_Run &runner, const std::map< tString, tString > &options) const
execute the elementary tests
Definition: CORE_Test.cpp:235
static CORE_UniquePointer< CORE_Test > New()
create a test class @retrun a new instance of the class
Definition: CORE_Test.h:89
tBoolean testIO(const CORE_Run &runner, const std::map< tString, tString > &options) const
test IO class
Definition: CORE_Test.cpp:561
static const tFlag ELEMENTARY_TESTS
Definition: CORE_Test.h:55
CORE_Test(void)
create
Definition: CORE_Test.cpp:22
virtual void getSearchingPaths(std::vector< tString > &vpaths) const
get the test path locations
Definition: CORE_Test.h:160
tBoolean testField(const CORE_Run &runner, const std::map< tString, tString > &options) const
test the numeric field
Definition: CORE_Test.cpp:772
tBoolean testMemorySize(const CORE_Run &runner, const std::map< tString, tString > &options)
test memory size
Definition: CORE_Test.cpp:731
tString mName
Definition: CORE_Test.h:58
virtual tBoolean execute(const CORE_Run &runner, const std::map< tString, tString > &options) const
execute the tests
Definition: CORE_Test.cpp:106
static const tFlag CASE_TESTS
Definition: CORE_Test.h:56
const tString & getName() const
get the test name
Definition: CORE_Test.h:127
virtual tMemSize getMemorySize() const override
return the memory size of the class
Definition: CORE_Test.h:103
virtual tBoolean caseTests(const CORE_Run &runner, const std::map< tString, tString > &options) const
execute the case tests
Definition: CORE_Test.cpp:242
tString searchPath(const tString &f) const
retun the path where the file f is withing the searching paths list
Definition: CORE_Test.cpp:75
requires core_functions::isRealType< T > static core_functions::isRealType< Q > tBoolean Equals(const T &a, const Q &b)
retrun true if the two values are equals
Definition: CORE_Test.h:226
virtual tBoolean primaryTests(const CORE_Run &runner, const std::map< tString, tString > &options) const
execute the primary tests
Definition: CORE_Test.cpp:173
tBoolean testStringsList(const CORE_Run &runner, const std::map< tString, tString > &options) const
test the string array
Definition: CORE_Test.cpp:709
tBoolean testTypes(const CORE_Run &runner, const std::map< tString, tString > &options) const
test type
Definition: CORE_Test.cpp:346
typename std::unique_ptr< T, CORE_Object::Delete > CORE_UniquePointer
Definition: sp.h:8
#define tFlag
Definition: types.h:91
#define tUSInt
Definition: types.h:38
#define tString
Definition: types.h:147
#define tMemSize
Definition: types.h:166
#define tBoolean
Definition: types.h:151
#define tReal
Definition: types.h:137