driverTest.hh

Go to the documentation of this file.
1 
6 #ifndef driverTest_hh
7 #define driverTest_hh
8 
9 #include "basics/testcase.hh"
10 #include "operator/sparseMatrix.hh"
11 #include "sparseqr/driver.hh"
12 
13 namespace test {
14 
15  // ************************************************************ DriverTest **
16 
20  class DriverTest : public TestCase {
21  public:
23  virtual ~DriverTest();
24  virtual void run();
25 
27 
28  void testQ();
31  void testQt();
33  void testSolver();
35  private:
41  };
42 
43 } // namespace test
44 
45 #endif // driverTest_hh
void testSolver()
Should test QR solver (when it is operational)
Base class for tests.
Definition: testcase.hh:92
virtual void run()
Runs the tests. Must be overwritten by the specialization.
concepts::SparseMatrix< Real > b
Tests Q and its composition with another matrix.
Definition: driverTest.hh:37
concepts::DummySpace< Real > spc1
Tests Q and its composition with another matrix.
Definition: driverTest.hh:36
concepts::DummySpace< Real > spc2
Tests Q and its composition with another matrix.
Definition: driverTest.hh:36
Unit tests.
Definition: testcase.hh:66
virtual ~DriverTest()
void compare_(const concepts::SparseMatrix< Real > &s, concepts::Operator< Real > &o)
Tests Q and its composition with another matrix.
Driver class for sparse QR decomposition.
Definition: driver.hh:34
Tests the integration of the sparseqr package into Concepts.
Definition: driverTest.hh:20
sparseqr::Driver decomp
Tests Q and its composition with another matrix.
Definition: driverTest.hh:38
void testQ()
Tests Q and its composition with another matrix.
concepts::SparseMatrix< Real > a
Tests Q and its composition with another matrix.
Definition: driverTest.hh:37
void testQt()
Tests transpose of Q and its composition with another matrix.
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich