spaceTest.hh

Go to the documentation of this file.
1 
7 #ifndef spaceTest_hh
8 #define spaceTest_hh
9 
10 #include "basics/testcase.hh"
11 
12 using concepts::Real;
13 
14 namespace test {
15 
19  class SpaceTest3D : public TestCase {
20  public:
21  SpaceTest3D() : elmIdx_(0) {}
22  virtual ~SpaceTest3D() {}
23  virtual void run();
24 
26 
27  void testSpace();
30  private:
31  void r_(const uint, const uint);
32  void c_(const uint, const Real);
33  std::list<std::pair<uint, uint> > rowIdx_[16];
34  std::list<std::pair<uint, Real> > colAndEntry_[16];
35  uint elmIdx_;
36  };
37 
38 } // namespace test
39 
40 #endif // spaceTest_hh
std::list< std::pair< uint, Real > > colAndEntry_[16]
Tests space (all T matrices of all elements)
Definition: spaceTest.hh:34
Base class for tests.
Definition: testcase.hh:92
uint elmIdx_
Tests space (all T matrices of all elements)
Definition: spaceTest.hh:35
std::list< std::pair< uint, uint > > rowIdx_[16]
Tests space (all T matrices of all elements)
Definition: spaceTest.hh:33
void c_(const uint, const Real)
Tests space (all T matrices of all elements)
Unit tests.
Definition: testcase.hh:66
virtual void run()
Runs the tests. Must be overwritten by the specialization.
Testing degree of freedom computation.
Definition: spaceTest.hh:19
void r_(const uint, const uint)
Tests space (all T matrices of all elements)
virtual ~SpaceTest3D()
Definition: spaceTest.hh:22
void testSpace()
Tests space (all T matrices of all elements)
double Real
Type normally used for a floating point number.
Definition: typedefs.hh:36
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich