Class documentation of Concepts

Loading...
Searching...
No Matches
legendreTest.hh
1
8#ifndef legendreTest_hh
9#define legendreTest_hh
10
11#include "basics/typedefs.hh"
12#include "basics/testcase.hh"
13
14namespace test {
15
16 // ********************************************************** LegendreTest **
17
21 class LegendreTest : public TestCase {
22 public:
23 virtual ~LegendreTest() {}
24 virtual void run();
25
26 void testConstructor();
27
28 /* Computed Legendre Polynomials up to degree 3 are tested
29 * with the (known) monomials respresantation. The interval
30 * they are tested on is [-1,2].
31 *
32 */
33 void testPolynomials();
35 private:
36 void testFunction_(const concepts::Real* f, uint n,
37 const concepts::Real* x, const char* formula);
38 };
39
40} // namespace test
41
42#endif // legendreTest_hh
virtual void run()
Runs the tests. Must be overwritten by the specialization.
double Real
Definition typedefs.hh:39