00001 00005 #ifndef testname_hh 00006 #define testname_hh 00007 00008 #include "basics/testcase.hh" 00009 #include "basics/typedefs.hh" 00010 #include "basics/vectorsMatricesForward.hh" 00011 00012 using concepts::Real; 00013 00014 namespace hp2D { 00015 class Space; 00016 } 00017 00018 namespace test { 00019 00020 // **************************************************** FunctionEvaluation ** 00021 00026 class FunctionEvaluation : public TestCase { 00027 public: 00028 virtual ~FunctionEvaluation() {} 00029 virtual void run(); 00030 00032 00033 00037 void testValue(hp2D::Space& spc); 00039 void testValueInt(hp2D::Space& spc); 00044 void testValueComb(hp2D::Space& spc); 00047 void testTrace(hp2D::Space& spc); 00049 private: 00051 Real shapeFct_(const uint i[2], const concepts::Real2d& p) const; 00052 }; 00053 00054 } // namespace test 00055 00056 #endif // hp2DFunctionEvalutation_hh