spaceTest.hh

Go to the documentation of this file.
1 
7 #ifndef spaceTest2D_hh
8 #define spaceTest2D_hh
9 
10 #include "basics/testcase.hh"
11 
12 using concepts::Real;
13 
14 namespace test {
15 
19  class SpaceTest2D : public TestCase {
20  public:
22  virtual ~SpaceTest2D() {}
23  virtual void run();
24 
26 
27  void testBuild();
30  void testCopy();
32  private:
33  };
34 
35 } // namespace test
36 
37 #endif // spaceTest2D_hh
Base class for tests.
Definition: testcase.hh:92
Tests building and copying hp2D::Space.
Definition: spaceTest.hh:19
void testCopy()
Tests copying a space.
Unit tests.
Definition: testcase.hh:66
virtual void run()
Runs the tests. Must be overwritten by the specialization.
void testBuild()
Tests building a space.
virtual ~SpaceTest2D()
Definition: spaceTest.hh:22
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