point.hh

Go to the documentation of this file.
1 
6 #ifndef testPoint_hh
7 #define testPoint_hh
8 
9 #include "basics/testcase.hh"
10 
11 namespace test {
12 
16  class PointTest : public TestCase {
17  public:
18  virtual ~PointTest() {}
19  virtual void run();
20 
22 
23  void testConstr();
30  void testSum();
33  //}@
34  };
35 
39  class MappingTest : public TestCase {
40  public:
41  virtual ~MappingTest() {}
42  virtual void run();
43 
45 
46  void testContr();
49  void testDet();
51  void testInv();
53  void testTranspose();
55  void testMapping();
57  void testScaling();
59  void testScaleRows();
63  void testRank1Prod();
65  void testInvRect();
66  //}@
67  };
68 
69 } // namespace test
70 
71 #endif // testPoint_hh
Base class for tests.
Definition: testcase.hh:92
void testConstr()
Tests constructor of Point<2> and Point<3>
void testScaleRows()
Tests scaleRow.
Testing concepts::Mapping.
Definition: point.hh:39
void testInv()
Tests inverse.
void testDet()
Tests determinant.
virtual void run()
Runs the tests. Must be overwritten by the specialization.
Unit tests.
Definition: testcase.hh:66
void testCrossProduct()
Tests outer products.
Testing concepts::Point.
Definition: point.hh:16
void testTranspose()
Tests transpose.
virtual ~MappingTest()
Definition: point.hh:41
void testInvRect()
Tests rectangular inverse.
void testValueTimesPoint()
Tests product of value with a point.
void testScaling()
Tests scaling.
void testContr()
Tests constructor of Mapping<2>
void testSum()
Tests sum of Points.
virtual ~PointTest()
Definition: point.hh:18
void testMapping()
Tests mapping.
void testRank1Prod()
Tests rank 1 product.
void testDotProduct()
Tests inner products.
void testScaleColumns()
Tests scaleColumn.
virtual void run()
Runs the tests. Must be overwritten by the specialization.
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich