Class documentation of Concepts

Loading...
Searching...
No Matches
SmallESTest.hh
1
6#ifndef SmallESTest_hh
7#define SmallESTest_hh
8
9#include <iostream>
10#include <cstdlib>
11#include <unistd.h> // for command line parsing
12#include "basics/testsuite.hh"
13#include "basics/typedefs.hh"
14
16#include "operator/superLU.hh"
17#include "basics/exceptions.hh"
18#include "toolbox/array.hh"
19
20
21namespace test {
22
23 class SmallESTest : public TestCase {
24 public:
25 virtual ~SmallESTest();
26 virtual void run();
27 void SmallESTestReal();
28 void SmallESTestCmplx();
29 private:
30 /*
31 IMPORTANT: The num Test doen't work for Real valued input with complex eigenvalues!!!!
32 The structure of the output will be changed soon (Issue 178)
33 */
34 template <typename F>
35 void numTestArray_(const concepts::Array<F>& Id,
36 const concepts::Array<F>& ev1,
38 template <typename F>
39 void numTestArray_(const concepts::Matrix<F>& Id,
40 const concepts::Array<F>& ev1,
42 template <typename F>
43 void numTestArray_(const concepts::ElementMatrix<F>& Id,
44 const concepts::Array<F>& ev1,
46 template <typename F>
47 void numTestArray_(const concepts::DenseMatrix<F>& Id,
48 const concepts::Array<F>& ev1,
50 numTestArray_(reinterpret_cast<const concepts::Matrix<F> &>(Id), ev1, ef1);
51 };
52
53
54
55 };
56
57} // namespace test
58
59# endif // SmallESTest_hh
60
61
virtual void run()
Runs the tests. Must be overwritten by the specialization.