C++ mpi module for stochmagnet_main Package
EXPR_Test.h
1 #ifndef EXPR_Test_H
2 #define EXPR_Test_H
3 
4 #include "CORE_Test.h"
5 
6 class CORE_Run;
7 
19 class EXPR_Test : public CORE_Test {
20 
21  // ATTRIBUTES
22 
23 
24 public:
25 
26 
27 public:
28  // METHODS
29 
30  // CONSTRUCTORS
31 
34  EXPR_Test(void){
35  }
36 
37 
38 
39  // DESTRUCTORS
40 
41 
44  virtual ~EXPR_Test(void) {
45  }
46 
47 
48 
49 public:
53  inline static CORE_UniquePointer<EXPR_Test> New() {
54  CORE_UniquePointer<EXPR_Test> p(new EXPR_Test(),EXPR_Test::Delete());
55  return p;
56  };
57 
58 
59 
60 protected:
64  virtual void getSearchingPaths(std::vector<tString>& vpaths) const override {
65  CORE_Test::getSearchingPaths("math/geometry",5,
66  {"","expr"},
67  vpaths);
68  }
69 
70 
71 
72 
77  virtual tBoolean primaryTests(const CORE_Run& runner,
78  const CORE_OptionsList& options) const override;
83  virtual tBoolean elementaryTests(const CORE_Run& runner,
84  const CORE_OptionsList& options) const override;
85 
86 
87 private:
88  tBoolean testPrimaryGeometries() const;
89  tBoolean testPaver() const;
90  tBoolean testCylinder() const;
91  tBoolean testExpression() const;
92  tBoolean testMinusExpression() const;
93 
94 };
95 
96 #endif
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
This class is an list of options.
Definition: CORE_OptionsList.h:36
This class is a Run class for core package.
Definition: CORE_Run.h:44
This class is a test class for core package.
Definition: CORE_Test.h:42
virtual void getSearchingPaths(std::vector< tString > &vpaths) const
get the test path locations
Definition: CORE_Test.h:158
This class is a test class for math/expr module.
Definition: EXPR_Test.h:19
static CORE_UniquePointer< EXPR_Test > New()
create a test class
Definition: EXPR_Test.h:53
virtual tBoolean primaryTests(const CORE_Run &runner, const CORE_OptionsList &options) const override
execute the tests
Definition: EXPR_Test.cpp:18
virtual ~EXPR_Test(void)
destroy
Definition: EXPR_Test.h:44
virtual void getSearchingPaths(std::vector< tString > &vpaths) const override
get the test path locations
Definition: EXPR_Test.h:64
EXPR_Test(void)
create
Definition: EXPR_Test.h:34
virtual tBoolean elementaryTests(const CORE_Run &runner, const CORE_OptionsList &options) const override
execute the tests
Definition: EXPR_Test.cpp:79